SA-MP Forums Archive
How do I get coords quick? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How do I get coords quick? (/showthread.php?tid=186078)



How do I get coords quick? - sapsap - 27.10.2010

Hey guys,

I'm kinda a scripting beginner, and I need help getting coords. I wonder how some get them soooooo quick, while when I want some I have to do it a more complicated way. Is there a simple way to get coords?

Thanks in advance


Re: How do I get coords quick? - Cameltoe - 27.10.2010

/save "somestringtodescribethelocation" Gets saved in \Documents\GTA San Andreas User Files\SAMP


Re: How do I get coords quick? - Pooh7 - 27.10.2010

pawn Код:
if(strcmp(cmd, "/poz", true) == 0)
    {
        new string1[128];
        new Float:X,Float:Y,Float:Z;
        GetPlayerPos(playerid,X,Y,Z);
        format(string1,sizeof(string1),"Pozicija = X: %.0f , Y: %.0f , Z: %.0f",X,Y,Z);
        SendClientMessage(playerid,COLOR_GREEN,string1);
        return 1;
    }
It display position in game.


Re: How do I get coords quick? - sapsap - 27.10.2010

ty

The message you have entered is too short. Please lengthen your message to at least 8 characters.