[TaGGeD] How Can I Allow A Tag For [Admin] But Not Other Tags - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [TaGGeD] How Can I Allow A Tag For [Admin] But Not Other Tags (
/showthread.php?tid=147940)
[TaGGeD] How Can I Allow A Tag For [Admin] But Not Other Tags -
Quicky1995 - 15.05.2010
This Is Currently What I Have, While Using This From Some Source,
Credits To Who-Ever Used It xD.
Now Bassically, I Want All Names That Are Tagged Rejected Unless The Person That Can Edit The Script Files.
Can Make Them Have [ ] Tags.
This Is What I Have At The Minute.
-Credits To Who Ever.
Код:
new taggedname[30];
GetPlayerName(playerid,taggedname,50);
if(strfind(taggedname, "[",true)!= -1 || strfind(taggedname, "]",true)!= -1 ){
SendClientMessage(playerid,COLOR_RED,"Tags / Clans are not allowed on this server. Please change your name");
Kick(playerid);
return 1;