Quote:
Originally Posted by DeathTone
Your doing it reversed.
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; }
if(strfind(pName, "_", true) == -1) will return 1 if it DID find a "_" in the username.
|
Ya I replaced the code but I still got the error thanks though for helping. Anyone else got any suggestions ro would like me to further on post any code?