• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

TalkAction Stop Insulting!

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"
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
After that go in Talkactions.xml and put that
PHP:
<talkaction words="noob" script="insult.lua" />
<talkaction words="fuck" script="insult.lua" />
<talkaction words="bitch" script="insult.lua" />
<talkaction words="*****" script="insult.lua" />
Also, Yours Tenaria.
 
FAIL PLEASE! What is else for?

Just:
PHP:
function onSay(cid, words, param)
    doPlayerSendTextMessage(cid,22,"Stop insult, go read Books!.")
    doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
end
 
I found this useless but anyway its a good script maybe useful for some servers..
 
You could also add case-sensitive="no", so it will also work for NooB, nOOB etc. ;p
 
Back
Top