dcmd + sscanf + my hardcore command = problem
#3

Quote:
Originally Posted by sbґ
pawn Код:
if(sscanf(/*there should be rest from 'params' but i don't know how to do it*/,"d",onemorething))
pawn Код:
if (sscanf(params, "d",onemorething))
?? i don't get your question that easily, can you try to explain what the error is? or what is it supposed to do?...
That won't work .

I want command /note [id] onemore [price] [more]
[id] - from first sscanf
onemore - from first sscanf
[price] - from first sscanf
[more] - from second sscanf that is used later in "if(!strcmp(typ,"onemore",true))"

I want to add one more value to command if typ will be onemore
and 2 values if typ will be twomore
Reply


Messages In This Thread
dcmd + sscanf + my hardcore command = problem - by madmade - 07.06.2009, 10:05
Re: dcmd + sscanf + my hardcore command = problem - by shitbird - 07.06.2009, 10:08
Re: dcmd + sscanf + my hardcore command = problem - by madmade - 07.06.2009, 10:12
Re: dcmd + sscanf + my hardcore command = problem - by shitbird - 07.06.2009, 10:22
Re: dcmd + sscanf + my hardcore command = problem - by Weirdosport - 07.06.2009, 10:38

Forum Jump:


Users browsing this thread: 1 Guest(s)