SA-MP Forums Archive
help with pos cmd. - 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: help with pos cmd. (/showthread.php?tid=451496)



help with pos cmd. - eastern - 17.07.2013

Please i want help with cmd position i need a cmd to get my pos ig in any place.


Re: help with pos cmd. - mahdi499 - 17.07.2013

i use ZCMD
pawn Код:
CMD:pos(playerid, params[])
{
    new Float:Pos[3];
    new string[128];
    GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
    format(string,sizeof(string),"X: %f Y: %f Z: %f", Pos[0], Pos[1], Pos[2]);
    SendClientMessage(playerid, -1, string);
}



Re: help with pos cmd. - AmirRFCNR - 17.07.2013

u wnt to save position ?


Re: help with pos cmd. - eastern - 17.07.2013

Thanks mahdi this what i need (closed)