24.01.2010, 12:31
I followed this adminscript tutorial,
And if i type /register [password] ingame,
Ofcourse i replace [password] with my actual password,
But it says this ingame:
ERROR: Password must be between 0 and $d characters long!
The line that triggers that is:
And uses:
I cant find anything else, Well i can, But nowhere to see the limit and/or to change it
EDIT: It says between 0 and $d should i change that to %d or leave it
And if i type /register [password] ingame,
Ofcourse i replace [password] with my actual password,
But it says this ingame:
ERROR: Password must be between 0 and $d characters long!
The line that triggers that is:
pawn Код:
new string[200];
format(string, sizeof(string), "ERROR: Password must be between %d and $d characters long!", gSettings[PASS_MIN], gSettings[PASS_MAX]);
return SendClientMessage(playerid, COLOUR_ORANGE, string);
pawn Код:
else if(strlen(params) < gSettings[PASS_MIN] || strlen(params) > gSettings[PASS_MAX])
EDIT: It says between 0 and $d should i change that to %d or leave it