Do talkactions support params?
This simple method doesn't work unless I only type the talkaction, if I put a space or anything after it is doesn't get called.
This simple method doesn't work unless I only type the talkaction, if I put a space or anything after it is doesn't get called.
Code:
function onSay(cid, words, param)
if isPlayer(cid) == TRUE and getPlayerAccess(cid) > 0 then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Param: " .. param)
end
end