05.04.2013, 12:56
You don't need arrays for integers, so remove the [3] from the option, and also, on your sscanf line:
Make that:
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.
pawn Код:
if(!sscanf(params, "i[3]", option))
pawn Код:
if(!sscanf(params, "i", option))
Best of luck.