Quote:
Originally Posted by Raylan Givens
Lo modifico asi!
pawn Код:
if(strval(inputtext) < 3 || strval(inputtext) > 32) return ShowPlayerDialog(playerid, Registro, DIALOG_STYLE_PASSWORD, "{00FFFF}Panel de Registro", "Mнnimo 3 caracter, mбximo 32 caracteres", "Continuar", "Salir"); if (!response) return Kick(playerid);
pero cuando pongo mas de 3 caracteres me dice que ponga mнnimo 3 mбximo 32 y cuando pongo menos de 3 caracteres me registra, por que es eso?
Agradezco de ante mano una ayuda!!
|
Lo estбs haciendo mal.
Deberнa ser asн:
pawn Код:
if(strlen(inputtext) < 3 || strlen(inputtext) > 32) return ShowPlayerDialog(playerid, Registro, DIALOG_STYLE_PASSWORD, "{00FFFF}Panel de Registro", "Mнnimo 3 caracter, mбximo 32 caracteres", "Continuar", "Salir");
if (!response) return Kick(playerid);