help me ! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: help me ! (
/showthread.php?tid=469157)
help me ! -
trandiep1982 - 12.10.2013
I need FS that will block typing server address : .com .org .net... etc into /ad, /b, /ooc, /pm, /n, /a and normal chat...can somebody please help me with this
Re: help me ! -
Tuntun - 12.10.2013
Maybe you should find A good anti cheat system for the role play.maybe you can make it from onplayertext ....
Re: help me ! -
MORJAN1122 - 12.10.2013
no i want i admin in game banned and kick the hackers
Re: help me ! -
SilentSoul - 12.10.2013
Check this :
http://pastebin.com/uTtSPdrN block all words you don't wanna player to say
to make this add noteapad in SCRIPTED FILES called swear
Re: help me ! -
trandiep1982 - 12.10.2013
Quote:
Originally Posted by SilentSoul
Check this : http://pastebin.com/uTtSPdrN block all words you don't wanna player to say
to make this add noteapad in SCRIPTED FILES called swear
|
it not work on /o /b /newb.. etc
Re: help me ! -
Zex Tan - 12.10.2013
Quote:
Originally Posted by trandiep1982
it not work on /o /b /newb.. etc 
|
Download a Anti-Advertising script and copy the function into your main script that has /o /b or /newb in it. After that, call the function in your script something like this inside the command.
Something like that.
Re: help me ! -
trandiep1982 - 12.10.2013
Quote:
Originally Posted by Zex Tan
Download a Anti-Advertising script and copy the function into your main script that has /o /b or /newb in it. After that, call the function in your script something like this inside the command.
Something like that.
|
if(strfind(text, "samp.", true) != -1


Re: help me ! -
Zex Tan - 12.10.2013
Quote:
Originally Posted by trandiep1982
|
Yes something like that in your command.
Re: help me ! -
Zex Tan - 12.10.2013
Did you use strfind properly? I mean you should have the 'params' in your strfind.
Re: help me ! -
trandiep1982 - 12.10.2013
Quote:
Originally Posted by Zex Tan
Did you use strfind properly? I mean you should have the 'params' in your strfind.
|
Thanks you very much it's really work !