11.07.2012, 22:34
Timed Teleport
This is a very simple include, that has no more than 60 lines of code. It is really simple to use and work with. It's meant for DM/Fun servers where there are lots of people who evade death by teleporting. Changelog
Код:
v1.0 - Inital release
If you use TimedTeleport the player will be teleported after a certain amount of time (that you can define for each case in particular) only if he does not take any damage.
Functions
The only function is:
pawn Код:
stock TimedTeleport(playerid, Float:X, Float:Y, Float:Z, time)
Float: X - The X coordinate to teleport the player at
Float: Z - The Z coordinate to teleport the player at
Float: Y - The Y coordinate to teleport the player at
time - Time player has to wait until he will be teleported
Installation
Simply put the ttp.inc the the pawno\include folder and in your gamemode add
pawn Код:
#include <ttp>
pawn Код:
#include <a_samp>
Solidfiles
Pastebin
Credits
Credits to Berlovan (me) for making the include
Credits to Yoshifirebird for helping with testing because my PC died and I am currently on my mom's which cannot stand GTA:SA or any other game.
Feel free to use it as you wish.