open.mp forum
[Tool] In-Game teleport creation tool - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Releases (https://forum.open.mp/forumdisplay.php?fid=13)
--- Thread: [Tool] In-Game teleport creation tool (/showthread.php?tid=2101)



In-Game teleport creation tool - BrycieBoi - 2021-06-06

Hi, new member here.



Wrote a simple in-game teleport creation tool. Currently /savetele is not limited to admins, but this can be added easily.



How to use:

/savetele <name> : Saves a teleport location to scriptfiles/Custom Teles.

/teles : Displays a list dialog of all saved teleports. Selecting one will teleport the player to it's location (with vehicle if applicable).

/tele <name> : Teleports player to saved teleport with <name> (shortcut version of '/teles').



Dependencies:

Dini

zcmd

sscanf2



Installation:

1) Compile CustomTeleports.pwn and add CustomTeleports to filterscripts in server.cfg

2) Create a directory named 'Custom Teles' inside the scriptfiles directory



Download



Feel free to make any changes you like.