About coordinates. - 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: About coordinates. (
/showthread.php?tid=440276)
About coordinates. -
Jardzskiiz - 29.05.2013
Can someone know how like,,, some command.. /coordinates
it's like when you type that command..
the x y z coordinates where the place im in will come out,., with interior id thiny, like 1,2,3,4,5,1.2,1.9
Re: About coordinates. -
JaKe Elite - 29.05.2013
pawn Код:
new Float:pPos[3], string[128];
GetPlayerPos(playerid, pPos[0], pPos[1], pPos[2]);
format(string, 128, "X: %f, Y: %f, Z: %f, Interior: %i", pPos[0], pPos[1], pPos[2], GetPlayerInterior(playerid));
SendClientMessage(playerid, -1, string);
put it in your command.