Command not working (maybe sscanf related)
#2

Change:
pawn Код:
if(!sscanf(params, "s", option))
to:

pawn Код:
if(!sscanf(params, "s[5]", option))
The [5] represents the size of the array of new option[5];
Reply


Messages In This Thread
Command not working (maybe sscanf related) - by [p3]pr0t0typ3 - 20.10.2012, 22:35
Re: Command not working (maybe sscanf related) - by Memoryz - 20.10.2012, 23:19
Re: Command not working (maybe sscanf related) - by [p3]pr0t0typ3 - 21.10.2012, 00:25
Re: Command not working (maybe sscanf related) - by newbienoob - 21.10.2012, 01:02
Re: Command not working (maybe sscanf related) - by [p3]pr0t0typ3 - 21.10.2012, 01:17
Re: Command not working (maybe sscanf related) - by ReneG - 21.10.2012, 01:23
Re: Command not working (maybe sscanf related) - by [p3]pr0t0typ3 - 21.10.2012, 01:47

Forum Jump:


Users browsing this thread: 1 Guest(s)