[Tutorial] Explanation for sscanf2 and ZCMD
#8

Quote:
Originally Posted by Calg00ne
Посмотреть сообщение
You spell "amount" incorrectly, and you show this example:

pawn Код:
new string[64];
if (sscanf(params, "s[32]")) return 1;
There's no point in using sscanf if you're just parsing one value (that isn't a userid/name) as you can use strval(params) or just directly use the params variable.
Of course. I just gave a quick example, but thanks for pointing that out.
Reply


Messages In This Thread
Explanation for sscanf2 and ZCMD - by admantis - 27.02.2011, 00:48
Re: Explanation for sscanf2 and ZCMD - by Hal - 27.02.2011, 01:44
Re: Explanation for sscanf2 and ZCMD - by Retardedwolf - 27.02.2011, 02:14
Re: Explanation for sscanf2 and ZCMD - by [L3th4l] - 27.02.2011, 02:18
Re: Explanation for sscanf2 and ZCMD - by Hiddos - 27.02.2011, 12:02
Re: Explanation for sscanf2 and ZCMD - by admantis - 27.02.2011, 15:02
Re: Explanation for sscanf2 and ZCMD - by Calgon - 27.02.2011, 15:05
Re: Explanation for sscanf2 and ZCMD - by admantis - 27.02.2011, 15:06
Re: Explanation for sscanf2 and ZCMD - by Miguel - 27.02.2011, 15:18
Re: Explanation for sscanf2 and ZCMD - by admantis - 27.02.2011, 15:19

Forum Jump:


Users browsing this thread: 3 Guest(s)