30.03.2010, 17:59
Hello, i want to know how to do this:
that password MUST have min 5 max 15 words
i tried this
Than i put this:
but it won't work normaly
how i can make this works ?
that password MUST have min 5 max 15 words
i tried this
Код:
new words; words = inputtext[15];
Код:
if(words < 5 || words > 15) { new stri[128]; SendClientMessage(playerid, 0xff7000ff, "[System]: Password Must Be Long Beetween 5 and 15 words!"); format(stri,256,"Welcome %s to Kljukec's Roleplay Server.\n\nYour name is not registered yet so please enter \nthe password in box!\n\nIMPORTANT:The password must have 5-15 words ",name); ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,"Register",stri,"Register","Quit"); return 1; }
how i can make this works ?