This talkaction script makes a player say something you want...
Here is an example of how to use it:
/say "Bob,You are all hunted!
Bob: You are all hunted!
Here is the code...
Enjoy...
Here is an example of how to use it:
/say "Bob,You are all hunted!
Bob: You are all hunted!
Here is the code...
Code:
function onSay(cid, words, param)
if param ~= "" and getPlayerGroupId(cid) == 2 then
name = string.sub(param,0,string.find(param, ",")-1)
message = string.sub(param,string.find(param, ",")+1)
doCreatureSay(getPlayerByName(name),message,1)
end
return FALSE
end
Enjoy...
Last edited: