05.04.2012, 20:56
I have a AUTO kick code
When i use Danny_Kovalchuk it still kicks me
pawn Код:
new plname[MAX_PLAYER_NAME];
GetPlayerName(playerid, plname, sizeof(plname));
new namestring = strfind(plname, "_", true);
if(namestring == -1)
{
SendClientMessage(playerid, COLOR_YELLOW2, "Los Santos CityHall: Your name is not Valid.");
SendClientMessage(playerid, COLOR_GROVE, "Hint: Your name must be in the format Like First_Last.");
Kick(playerid);
return 1;
}