bahrmanou - [email protected]
New - Version 1.8:
- Now with automatic unstucking (thx to NL)Ramon(NL ;))
- Added commands
- Bug fixes (read the readme file for more)
What is it?
This plugin was written for TFC, but could be useful for other mods too
The goal of this plugin is to facilitate teleporting. It is specially useful in cooperative maps,
concjumps and pipejumps maps where it can be very frustrating for players to die after long and
Teleporting is handled in two ways :
a) Any player can ask to remember his position in the map, then later he can ask to be teleported
to this point. For this to work, global teleporting must have been allowed ('amx_tpallow':
enabled by default) and user teleporting must have been allowed ('amx_tpallowuser': enabled
when the player connect).
b) Admins or at least players with permission level ACCESS_TELEPORT have access to a table of
positions ('slots'). They can add or replace positions in this table in the way they like.
Finally, they can save the table on disk and reload it when required. By default, the table
contains 40 slots maximum and will be saved in folder 'amxmodx/configs/pos/
Users Commands :
(or /s) save current position
(or /p) teleport to saved position (see 'Teleport allowing')
say saveme2 save current position (2nd)
say posme2 teleport to 2nd saved position
Global teleporting flag.
If no flag is given, get current status.
If OFF, users cannot teleport themselves.
By default, posallow is <ON>.
amx_tpallowuser [#user] [flag]
User teleporting flag.
Modify teh teleport effect ( [1,6] ; 0 = random effect)
Stack user or everybody.
Set delay users must wait between two 'posme'.
amx_tp [<#user> [#slot]]
Teleport user to the position in the slot.
Add a slot to the end of the table.
Empty the slot table.
Display the slot table in console.
Load the table in memory.
amx_tpmem <#user> <#slot>
Replace the slot in the table by the user position.
amx_tpname <#slot> [name]
Name the slot in the table. 'name' can be any text.
Save the table on disk.
amx_tpcopy <#user1> <#user2>
Copy user1 saved position to user2.
User2 have to say 'posme' to be teleported to this position.
amx_tpsend <#user1> <#user2>
Send directly user1 to the current user2 position.