Raised This Month: $95 Target: $400

Teleportation facilities

Post New Thread Reply   
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Fun Stuff        Approver:   Geesu (62)
Join Date: Aug 2005
Old 09-03-2005 , 08:52   Teleportation facilities
Reply With Quote #1


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
hard work...

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 :
say saveme (or /s) save current position
say posme (or /p) teleport to saved position (see 'Teleport allowing')
say saveme2 save current position (2nd)
say posme2 teleport to 2nd saved position

Admins Commands:
amx_tpallow [flag]
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.

amx_tpeffect [n]
Modify teh teleport effect ( [1,6] ; 0 = random effect)

amx_tpstack [user]
Stack user or everybody.

amx_tpdelay [delay]
Set delay users must wait between two 'posme'.

amx_tp [<#user> [#slot]]
Teleport user to the position in the slot.

amx_tpadd [#user]
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.

and more...

Attached Files
File Type: zip plugin_teleport.zip (23.6 KB, 1626 views)

Last edited by bahr; 02-25-2007 at 11:27.
bahr is offline
Send a message via MSN to bahr
One shot dont miss!
Senior Member
Join Date: Jun 2005
Old 09-03-2005 , 08:56  
Reply With Quote #2

nice for a newbie gj bro
One shot dont miss! is offline
Senior Member
Join Date: Sep 2005
Old 09-07-2005 , 10:24  
Reply With Quote #3

Nice one ive been looking for this plugin on amxx

The only feature i would like to see is being able to list maps in a text file and when the plugin registers it checks the currentmap and reads the text file, checking if the currentmap is listed and if so enable checkpoints if not disable them

Ive written a similar plugin for adminmod too and i added that feature and its extremly useful, also if the checkpoint file didnt exist it would mean that all maps would have checkpoints enabled

watch is offline
Join Date: Aug 2005
Old 09-07-2005 , 13:05  
Reply With Quote #4

Well, you can use the cvar "amx_teleport" for that purpose!
Just put "amx_teleport 0" in your map config (amxmodx\configs\maps\thismap.cfg)
bahr is offline
Send a message via MSN to bahr
Join Date: Aug 2005
Old 10-23-2005 , 22:34  
Reply With Quote #5

bahr is offline
Send a message via MSN to bahr
Join Date: Aug 2005
Old 11-03-2005 , 10:35  
Reply With Quote #6

version 1.4.1 available!
bahr is offline
Send a message via MSN to bahr
Veteran Member
Join Date: Aug 2005
Old 11-03-2005 , 10:45  
Reply With Quote #7

Good job man...
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
Junior Member
Join Date: Dec 2005
Old 12-13-2005 , 15:46  
Reply With Quote #8

Why can't I use it....?? its says:
Unknown command: amx_tpsen

Help me..
Phu aka kim
n00bl0l is offline
Send a message via MSN to n00bl0l
Veteran Member
Join Date: Jul 2004
Old 12-13-2005 , 16:14  
Reply With Quote #9

Please choose a category.
twistedeuphoria is offline
Join Date: Sep 2005
Location: Denmark
Old 12-16-2005 , 19:56  
Reply With Quote #10

Well, could you make a version with acces level ??
so i can change it for acces z if i want public, and maybe make a cvar ?? so i can change between all the flags????


The place where clans meet.
HarcoN is offline
Send a message via MSN to HarcoN Send a message via Skype™ to HarcoN

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -4. The time now is 02:11.

Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode