SA-MP Forums Archive
[FilterScript] Roleplay Name Checker (Link Working!) - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Roleplay Name Checker (Link Working!) (/showthread.php?tid=309062)



Roleplay Name Checker (Link Working!) - TheLonelyMoo - 06.01.2012

Roleplay Name Checker by Lonelymoo


I present you my Roleplay Name Checker by this you can check if player is not using the RP Name Format
this code is example its working for me 100%

pawn Код:
if(!NameValidator(playerid))
{
      SendClientMessage(playerid,COLOR_WHITE,"Your name is non-roleplay name, "red"You have been kicked!");
      SendClientMessage(playerid,COLOR_RED,"HINT: "white"Your name must be in Firstname_Lastname format, (E.G: John_Hernandez)");
      Kick(playerid);
}
i get this code from the guy in random thread he has vice city picture. i see RP Name Checker here but the link is not working so i made new one. the link is in below. you must be register user to download it.

----------------------------------------

Mediafire - http://www.mediafire.com/?udqina5saerk4hm
Pastebin - http://pastebin.com/h469xB1c

Mirrors are allowed PM me the mirrors link i will post here

----------------------------------------

Credits to the Guy who post this code
Edit by LonelyMoo


Re: Roleplay Name Checker (Link Working!) - Jochemd - 06.01.2012

Pastebin please? www.pastebin.com - upload your code there


Re: Roleplay Name Checker (Link Working!) - TheLonelyMoo - 06.01.2012

Added pastebin link! you can add a mirror just pm me if you want to add your mirror link


Re: Roleplay Name Checker (Link Working!) - Kaperstone - 06.01.2012

simple and nice
would like to see something unqiue :P


Re: Roleplay Name Checker (Link Working!) - V_LOPE - 06.01.2012

Nice
keep it up


Re: Roleplay Name Checker (Link Working!) - TheLonelyMoo - 06.01.2012

Quote:
Originally Posted by V_LOPE
Посмотреть сообщение
Nice
keep it up
Thanks any mirror links? sent me via PM


Re: Roleplay Name Checker (Link Working!) - js - 06.01.2012

Alex_McFly, John_MacLite names and so on are not supported... Re edit this


Re: Roleplay Name Checker (Link Working!) - TheLonelyMoo - 06.01.2012

i will try but it works 100% to everyone idk what did the author of this code.


Re: Roleplay Name Checker (Link Working!) - KingHual - 06.01.2012

Ugh... fail with the underline. Shouldn't you use "strcmp" to check if there is an underline in a name?


Re: Roleplay Name Checker (Link Working!) - TheLonelyMoo - 06.01.2012

i told you before its not from me its from other guy otherwise its my fault why i release it.

- need to go bye left a comment i will reply tomorrow
post 10:50PM (Philippines GMT)