Quote:
Originally Posted by Edward156
Here's one I made, by the way, it's tested and working.
pawn Код:
new pName[MAX_PLAYER_NAME]; GetPlayerName(playerid, pName, MAX_PLAYER_NAME); if(strfind(pName, "_", true) == -1) { SendClientMessage(playerid,COLOR_WHITE, "Your name must be in this format: Firstname_Lastname Format. (Example: Bob_Jones)"); Kick(playerid); return 1; }
|
i put it at onplayerconnect and the server keeps restarting with no message..