sscanf problem
#5

You don't need arrays for integers, so remove the [3] from the option, and also, on your sscanf line:
pawn Код:
if(!sscanf(params, "i[3]", option))
Make that:

pawn Код:
if(!sscanf(params, "i", option))
If you're new to using SSCANF, then I'm sure you could find a good, well written tutorial, I recommend just reading ******'s tutorial on his SSCANF plugin page.

Best of luck.
Reply


Messages In This Thread
sscanf problem - by absolute - 05.04.2013, 12:52
Re: sscanf problem - by Denying - 05.04.2013, 12:54
Re: sscanf problem - by fordawinzz - 05.04.2013, 12:55
Re: sscanf problem - by Jstylezzz - 05.04.2013, 12:55
Re: sscanf problem - by Isolated - 05.04.2013, 12:56
Re: sscanf problem - by Patrick - 05.04.2013, 13:00
Re: sscanf problem - by absolute - 05.04.2013, 13:03
Re: sscanf problem - by absolute - 05.04.2013, 13:09

Forum Jump:


Users browsing this thread: 1 Guest(s)