Posts: 6,129
Threads: 36
Joined: Jan 2009
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))