y_ini problem
#5

Quote:
Originally Posted by Speed
View Post
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
here is command, now, when I am ingame i type /mypos, i exit game, go to the scriptfiles and there I find map name: "pozicija"

i open that map, and inside map i found:

X=x_position
Y=y_position
Z=z_position

and i want to find:

SetPlayerPos(playerid, x_position, y_position, z_position);

Can you get now?
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)