y_ini problem
#1

My code goes like that:

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;
}
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
Reply


Messages In This Thread
y_ini problem - by Speed - 23.08.2011, 14:08
Re: y_ini problem - by Pinguinn - 23.08.2011, 14:11
Re: y_ini problem - by Speed - 23.08.2011, 14:14
Re: y_ini problem - by Pinguinn - 23.08.2011, 14:16
Re: y_ini problem - by Speed - 23.08.2011, 14:20
Re: y_ini problem - by SpankMe2 - 23.08.2011, 14:36

Forum Jump:


Users browsing this thread: 1 Guest(s)