SA-MP Forums Archive
MapAndreas_FindAverageZ - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: MapAndreas_FindAverageZ (/showthread.php?tid=389042)



MapAndreas_FindAverageZ - GTXcube - 31.10.2012

....


Re: MapAndreas_FindAverageZ - niels44 - 31.10.2012

you should use for that just:
pawn Код:
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
new string[128];
format(string, sizeof(string), "you have teleported to Z coords: %d", z);
SendClientMessage(playerid, 0xFF0000FF, string);
am not sure if you can use for floats also %f or something, but %d will work too i think


Re: MapAndreas_FindAverageZ - GTXcube - 02.11.2012

....