06.08.2012, 02:57
Your doing it reversed.
Correct way:
if(strfind(pName, "_", true) == -1) will return 1 if it DID find a "_" in the username.
Correct way:
pawn Код:
if(strfind(pName, "_", true) != -1)
{
format(sstring, 128, "You do not have an proper roleplay name! Example: John_Smith.");
SendClientMessage(playerid,ROJO, sstring);
Kick(playerid);
return 1;
}

