SA-MP Forums Archive
how to get positions for enter exit - 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: how to get positions for enter exit (/showthread.php?tid=559291)



how to get positions for enter exit - danish007 - 22.01.2015

hello, my question is that how can i get all positions of default samp enter/exit all locations of pickups


Re: how to get positions for enter exit - Rabea - 22.01.2015

go to a postion and type /save after this go to "GTA San Andreas User Files" after "Samp" and then click on the file savedpostions, you will find the postion there.


Re: how to get positions for enter exit - Anuris - 22.01.2015

You can also use smth like that:
pawn Code:
else if (strcmp(cmd, "/getint", true) == 0)
    {
        //if(PINFO[playerid][pAdmin] == 0) return SendMe(playerid, CGRADD, YouCanNot);
        new Float:X, Float:Y, Float:Z, Float:Angle;
        GetPlayerPos(playerid, X, Y, Z);
        GetPlayerFacingAngle(playerid, Angle);
        SendMes(playerid, CBLUEE, "Int: %i | Virt World: %i | Pos: [%.2f, %.2f, %.2f] | FacingAngle: %0.2f",GetPlayerInterior(playerid),GetPlayerVirtualWorld(playerid),X,Y,Z,Angle);
        return 1;
    }



Re: how to get positions for enter exit - Luis- - 22.01.2015

Using the /save method would be easier, so he can copy and paste the coords.