Command isn't working
#2

pawn Код:
if( sscanf( params, "z", coords) )
That code returns true or 1 if sscanf could make sense of it and place the values in to the 'coords' variable, so you need to add an exclamation mark (!) before you use sscanf, so:

pawn Код:
if(!sscanf(params, "z", coords))
Reply


Messages In This Thread
Command isn't working - by cloudysky - 16.06.2011, 19:56
Re: Command isn't working - by Calgon - 16.06.2011, 20:02

Forum Jump:


Users browsing this thread: 1 Guest(s)