Tenaria
New Member
- Joined
- Apr 26, 2009
- Messages
- 142
- Reaction score
- 2
Hello, iam really bored, also i get some idea's too make me
and new beginners Happy.
There some Insults like Noob, F*ck, B*tch, Asshole, etc.
Too stop them Ingame for no problems, i get an idea. Its a verry easy script but i think Its a good Idea.
First go in data/talkactions/scripts create an lua script and
nameit what ever u want i named "insult"
After that go in Talkactions.xml and put that
Also, Yours Tenaria.
and new beginners Happy.
There some Insults like Noob, F*ck, B*tch, Asshole, etc.
Too stop them Ingame for no problems, i get an idea. Its a verry easy script but i think Its a good Idea.
First go in data/talkactions/scripts create an lua script and
nameit what ever u want i named "insult"
PHP:
function onSay(cid, words, param)
doPlayerSendTextMessage(cid,22,"Stop insult, go read Books!.")
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
else
doPlayerSendCancel(cid,"Sorry, but you cant Tell This.")
end
end
PHP:
<talkaction words="noob" script="insult.lua" />
<talkaction words="fuck" script="insult.lua" />
<talkaction words="bitch" script="insult.lua" />
<talkaction words="*****" script="insult.lua" />