30.05.2013, 09:43
pawn Код:
new name[24]; // Makes a new string for the name
GetPlayerName(playerid,name,sizeof(name)); // Assigns it to the name
if(strfind(name,"[KZ]",true) != -1) // The != is if it was found.
{
if (PlayerInfo[playerid][pTag] != 1)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "** You are not in [KG] clan. Result is kick from the server **");
Kick(playerid);
return 1;
}
}