[HELP] question about coords.
#2

pawn Код:
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
dini_FloatSet("/folder/file.ini", "F_X", X);
dini_FloatSet("/folder/file.ini", "F_Y", Y);
dini_FloatSet("/folder/file.ini", "F_Z", Z);

// the output to "file.ini" in the folder "folder" will be
// F_X = 0.000000
// F_Y = 0.000000
// F_Z = 0.000000


////////////////////////////
new Float:X, Float:Y, FloatZ;
X = dini_Float("/folder/file.ini", "F_X");
Y = dini_Float("/folder/file.ini", "F_Y");
Z = dini_Float("/folder/file.ini", "F_Z");
SetPlayerPos(playerid, X, Y, Z);
Reply


Messages In This Thread
[HELP] question about coords. - by arnutisz - 18.08.2009, 18:18
Re: [HELP] question about coords. - by dice7 - 18.08.2009, 18:22
Re: [HELP] question about coords. - by arnutisz - 18.08.2009, 19:28
Re: [HELP] question about coords. - by dice7 - 18.08.2009, 19:40
Re: [HELP] question about coords. - by arnutisz - 18.08.2009, 20:25
Re: [HELP] question about coords. - by CAR - 18.08.2009, 20:32
Re: [HELP] question about coords. - by dice7 - 18.08.2009, 20:57
Re: [HELP] question about coords. - by CAR - 19.08.2009, 07:03
Re: [HELP] question about coords. - by dice7 - 19.08.2009, 07:19
Re: [HELP] question about coords. - by bogeymanEST - 19.08.2009, 09:20

Forum Jump:


Users browsing this thread: 1 Guest(s)