23.03.2011, 22:05
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;
}