I want to remove 1k from player everytime they say the word "tax"
function onSay(cid, "tax", param)
doPlayerRemoveMoney(cid, 1000)
end
I'm trying to add this at source code level, not as a script, I want to make it like "hard coded".
What I'm not sure, is how the function onSay should be called, if I can just give strings as parameters?
I'm not really sure how I have to deal with cid and param.
Any ideas?
Thanks!
function onSay(cid, "tax", param)
doPlayerRemoveMoney(cid, 1000)
end
I'm trying to add this at source code level, not as a script, I want to make it like "hard coded".
What I'm not sure, is how the function onSay should be called, if I can just give strings as parameters?
I'm not really sure how I have to deal with cid and param.
Any ideas?
Thanks!