[FilterScript] gPositions - A teleportation script.
#1

What is this? What does it do?

This is a feature from my game-mode which I wanted to release for everyone to use, it's called gPositions and is a system for Administrators to create up to 200 positions for players to teleport to. It will then save those positions and load them up every time the server is connected.

Administrators are able to create, delete and refill gPositions dynamically. Each creation has some options, for example, are vehicles allowed, and you can also set a name for the gPosition which will be shown to the player when he/she teleports there.

Commands

○ /g - Player command, allows the player to teleport to any of the 200 gPositions (if created).
○ /gcreate - Admin command, allows Admins to create a gPosition with various options.
○ /gremove - Admin command, allows admins to remove a specified gPosition file (if created).
○ /gfillpos - Admin command, allows admins to re-create a gPosition file in a deleted file positions. For example, if you used /gremove on ID 1, you could use this command to refill that position.



Changelog

Code:
- v0.1

* Initial release.
Code:
- v0.2

* Improved efficiency of /g command by loading directly from the gPosData array.
* Added dynamic checkpoints and 3D labels at gPositions, this utilizes Incognito's streamer plug-in (Included).
* 3D Labels at gPositions, show information such as gPos name and the command needed to teleport to it.
*Made some slight changes to the information printed in the console on gPosition load and creation. Now shows how many gSlots are left and how many are used. 
* On creation, you will now be shown vAuth Status messages.
Code:
- v0.3

* Improved efficiency with name arrays. (Thanks to jameskmonger :D)
Credits are in the script, support will be provided and updates as I create them. Enjoy!

v0.1

Solidfiles: http://solidfiles.com/d/4931a/

PasteBin: http://pastebin.com/mY9Wwstj

v0.2

Solidfiles: http://solidfiles.com/d/805b/

PasteBin: http://pastebin.com/bYpBkJ5q

v0.3

Solidfiles: http://solidfiles.com/d/f403/

PasteBin: http://pastebin.com/X3wnJ4gd
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)