27.03.2017, 21:46
Quote:
It will not work. sscanf is looking in your string 3 float values. 0,0,0 isn't a value. That's why.
|
pawn Код:
CMD:coordinates(playerid, params[])
{
new Float:x,Float:y,Float:z;
if(!sscanf(params, "fff",x,y,z))
SetPlayerPos(playerid, x,y,z);
return 1;
}