Ataro
Member
I got an talk action that i can use (no ingame text
) but players cant use it!
Whats wrong?
talkactions.xml
currenpoints.lua
Whats wrong?
talkactions.xml
XML:
<talkaction words="!points" event="script" value="currentpoints.lua"/>
LUA:
function onSay(cid, words)
doPlayerPopupFYI(cid, "You currently have: " .. CurrentPoints(getPlayerAccount(cid)) .. " points.")
return true
end