params inside of a param
#4

Quote:
Originally Posted by vital2k
Посмотреть сообщение
you have if(sscanf(params, "{s[9]}i", iMinutes)) but you only state 1 parameter but your format specifier states you should have 2 params.
With that line, it shouldn't give me an error because the first specifier isn't being saved.

And with this line:

pawn Код:
if(sscanf(params, "s[9]I", szOption))
It doesn't let me enter the minutes param of /reboot start without the optional "I" specifier.
Reply


Messages In This Thread
params inside of a param - by Scenario - 12.12.2011, 20:30
Re: params inside of a param - by Scenario - 12.12.2011, 22:08
Re: params inside of a param - by vital2k - 12.12.2011, 22:12
Re: params inside of a param - by Scenario - 12.12.2011, 22:16
Re: params inside of a param - by Scenario - 12.12.2011, 22:49
Re: params inside of a param - by Scenario - 12.12.2011, 23:18
Re: params inside of a param - by Phanto90 - 12.12.2011, 23:42
Re: params inside of a param - by Scenario - 13.12.2011, 00:31
Re: params inside of a param - by Scenario - 13.12.2011, 11:10

Forum Jump:


Users browsing this thread: 1 Guest(s)