Question about name recognition. - 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: Question about name recognition. (
/showthread.php?tid=418036)
Question about name recognition. -
Colossus874 - 23.02.2013
Hello, I was just wondering if anyone have got a script that kicks a player that joins if he hasn't got a roleplay name like John_Greenwood?
Re: Question about name recognition. -
Misiur - 23.02.2013
It's not hard to write (or steal from any gameplay if you like it that way). Basically just check if there are two parts separated by '_', and if they start from uppercase letter (while other letters are lowercase)
Re: Question about name recognition. -
Joshman543 - 23.02.2013
Here you go:
http://pastebin.com/h469xB1c
Re: Question about name recognition. -
Slavian - 23.02.2013
Man it is too easy you can make it by your self
Anti Rp names
I made one here is it
http://pastebin.com/5aKjJGA1