Weird Problem
#1

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:
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);
And uses:

pawn Код:
else if(strlen(params) < gSettings[PASS_MIN] || strlen(params) > gSettings[PASS_MAX])
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

Reply


Messages In This Thread
Weird Problem - by Torran - 24.01.2010, 12:31
Re: Weird Problem - by Nakash - 24.01.2010, 12:32
Re: Weird Problem - by dice7 - 24.01.2010, 12:33
Re: Weird Problem - by Torran - 24.01.2010, 12:36
Re: Weird Problem - by MadeMan - 24.01.2010, 12:38
Re: Weird Problem - by Torran - 24.01.2010, 12:39
Re: Weird Problem - by MadeMan - 24.01.2010, 12:48
Re: Weird Problem - by Torran - 24.01.2010, 12:51
Re: Weird Problem - by MadeMan - 24.01.2010, 12:55
Re: Weird Problem - by Torran - 24.01.2010, 12:58

Forum Jump:


Users browsing this thread: 3 Guest(s)