23.08.2011, 14:08
My code goes like that:
Now he print:
X=x_pos
Y=y_pos
Z=z_pos
and i want that he print:
SetPlayerPos(playerid, x_pos, y_pos, z_pos);
but i dont now how to do that,... pls help :S
pawn Code:
CMD:mypos(playerid, params[])
{
new Float:x, Float:y, Float:z
new INI:ini = INI_Open("pozicija.ini");
GetPlayerPos(playerid, x,y,z);
INI_WriteFloat(ini, "X", x);
INI_WriteFloat(ini, "Y", y);
INI_WriteFloat(ini, "Z", z);
return 1;
}
X=x_pos
Y=y_pos
Z=z_pos
and i want that he print:
SetPlayerPos(playerid, x_pos, y_pos, z_pos);
but i dont now how to do that,... pls help :S