Quote:
Originally Posted by Sandiel
pawn Код:
if(PlayerInfo[playerid][pAdmin] == 0) { new pName[MAX_PLAYER_NAME]; GetPlayerName(playerid, pName, sizeof(pName)); if(strfind(pName, "_", true) == -1) { SendClientMessage(playerid, COLOR_YELLOW, "You must have a name following the Firstname_Lastname format. You got kicked as a result!"); Kick(playerid); } }
Change "pAdmin" into your admin variable.
|
it works but i dont get a kick and a Message..that its my name..