Raised This Month: $51 Target: $400
 12% 

Teleportation facilities


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

Plugin_teleport


Author:
bahrmanou - [email protected]

[EDIT]
New - Version 1.8:
- Now with automatic unstucking (thx to NL)Ramon(NL ;))
- Added commands
- Bug fixes (read the readme file for more)
[/EDIT]

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


Usage:
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.

amx_tpempty
Empty the slot table.

amx_tplist
Display the slot table in console.

amx_tpload
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.

amx_tpsave
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...

HAVE FUN!
Attached Files
File Type: zip plugin_teleport.zip (23.6 KB, 1838 views)

Last edited by bahr; 02-25-2007 at 10:27.
bahr is offline
Send a message via MSN to bahr
 



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 19:13.


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