Micool777
New Member
- Joined
- Aug 25, 2012
- Messages
- 14
- Reaction score
- 0
I'm using TFS 0.2.8, and I am wondering why the talkaction doesn't register when used with a parameter.
When I use something like this:
It will only give me a message when there is no param. For instance, when I say "!jail " I will get a blue message that is, of course, blank. When I add a parameter as in "!jail Player", it doesn't even register as a command, and I receive no message.
When I use something like this:
LUA:
function onSay(cid, words, param)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, param)
end
It will only give me a message when there is no param. For instance, when I say "!jail " I will get a blue message that is, of course, blank. When I add a parameter as in "!jail Player", it doesn't even register as a command, and I receive no message.