15.10.2013, 19:25
Use this:
It'll check if the length of the string, i.e. stringlength is between 1 and 24, if not, then it will return that message.
pawn Код:
if(strlen(nameofvariable) < 1 || strlen(nameofvariable) > 24) return SendClientMessage(playerid, color, "Type your message to send here if he put less than 1 character or more than 24, which is the max_player_name");