Tag System - Help Please
#2

You would have to load the player information first, either through your login system or just load right away. Then use this to check:

pawn Код:
new Name[MAX_PLAYER_NAME];
GetPlayerName(playerid, Name, sizeof(Name));
if(strfind(Name, "[H]", false) != -1) //[H] is found in name
{
    if(!IsPlayerAdmin(playerid)) //replace with your admin check
    {
          Kick(playerid);
     }
     else return 1;
}
Reply


Messages In This Thread
Tag System - Help Please - by Alex_Obando - 23.03.2011, 21:41
Re: Tag System - Help Please - by randomkid88 - 23.03.2011, 22:05

Forum Jump:


Users browsing this thread: 1 Guest(s)