[HELP] X,Y,Z positions writing
#3

pawn Код:
format(string, sizeof(string), "481,%f,%f,%f,0.0,0,0,%s,BMX,20000,,1,0", x, y, z, sendername);
since x, y and z are floats.

And you don't need to use Float in functions, just when declaring the variables

pawn Код:
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
This will also work
Reply


Messages In This Thread
[HELP] X,Y,Z positions writing - by Ivan_Pantovic - 28.04.2010, 10:23
Re: [HELP] X,Y,Z positions writing - by Ivan_Pantovic - 28.04.2010, 10:38
Re: [HELP] X,Y,Z positions writing - by dice7 - 28.04.2010, 11:23

Forum Jump:


Users browsing this thread: 1 Guest(s)