AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Advanced Teleports ( 08/11/2013 ) (https://forums.alliedmods.net/showthread.php?t=229292)

Blizzard_87 11-04-2013 22:36

Advanced Teleports ( 08/11/2013 )
 
7 Attachment(s)
Advanced Teleports
v0.0.3
By Blizzard_87

ThreadStart
http://i.justblzd.tk/desc.png
This plugin works very similar to the default teleport( amxx ), with extra features including
the ability to save 20( MAX ) loctions for teleporting, the ability to Name the locations,
and you can teleport anyone alive to those locations.
http://i.justblzd.tk/installation.png
Place The Sound File In Your cstrike/sound folder like,
cstrike/sound/teleport/blinkarrival.wav

Place amx_advanced_teleport.amxx File In Your Plugins Folder

Add amx_advanced_teleport.amxx To Your Plugins.ini File.
or simply replace teleport.amxx with this one.
http://i.justblzd.tk/cvars.png
at_mode "1" - 0 Disables | 1 Only Admins Use ( at_admin_flag Cvar ) | 2 Anyone Can Use
at_admin_flag "a" - a ( ADMIN_IMMUNITY ) default flag for using this menu.
at_max_locations "7" - 20 Is The Maximum Allowed Locations
at_tele_sound "1" - 0 disables sound | 1 plays sound when player teleported
Client Commands
---------------
say /teleport - opens main menu
amx_teleport - opens main menu
http://i.justblzd.tk/configs.png
to edit default phrase for un used locations find this like and edit inside quotes
Code:
#define UNUSED "Empty Location"
http://i.justblzd.tk/credits.png
Blizzard - Author
Hornet - Bitsums, player angles
AmxModX Devs - Util_SetOrigin stock
Phant - view angle also

Change Log


Plugin Downloaded
34+ Current

ThreadEnd

http://i.justblzd.tk/Download.png

ConnorMcLeod 11-05-2013 00:48

Re: Advanced Teleports ( 05/11/2013 )
 
You have to use userid instead of name for players menu, else, you have no way to check if selected player is the player that had been stored in the menu.

Phant 11-05-2013 01:05

Re: Advanced Teleports ( 05/11/2013 )
 
Use pev_origin instead get/set_user_origin:
https://forums.alliedmods.net/showthread.php?t=228623

Blizzard_87 11-05-2013 02:29

Re: Advanced Teleports ( 05/11/2013 )
 
Quote:

Originally Posted by ConnorMcLeod (Post 2057027)
You have to use userid instead of name for players menu, else, you have no way to check if selected player is the player that had been stored in the menu.

i am using userid?

CODE



UPDATED VERSION 0.0.2

[ EDITED ] Changed Set/Get_user_origin to pev_origin
[ ADDED ] Util_SetOrigin from amxmodx teleport plugin

ConnorMcLeod 11-07-2013 01:08

Re: Advanced Teleports ( 05/11/2013 )
 
I must be blind.

Blizzard_87 11-07-2013 01:24

Re: Advanced Teleports ( 05/11/2013 )
 
Quote:

Originally Posted by ConnorMcLeod (Post 2057809)
I must be blind.

Is there anything else I could do to improve this? I'm going to add multi language with next update.

Phant 11-07-2013 01:39

Re: Advanced Teleports ( 05/11/2013 )
 
Would be nice if you add option for saving view angles of player too (source).
Also, possibility for clear selected saved position (in players nicknames sub-menu), add "Remove" item before "Location Page".

Blizzard_87 11-07-2013 02:08

Re: Advanced Teleports ( 05/11/2013 )
 
Quote:

Originally Posted by Phant (Post 2057815)
Would be nice if you add option for saving view angles of player too (source).
Also, possibility for clear selected saved position (in players nicknames sub-menu), add "Remove" item before "Location Page".

I'll look into player angles

I'll also update the menu to add / clear locations

And add multi language.

ConnorMcLeod 11-07-2013 13:03

Re: Advanced Teleports ( 05/11/2013 )
 
Why have you put 'stock' in front of private functions ?

Blizzard_87 11-07-2013 19:35

Re: Advanced Teleports ( 05/11/2013 )
 
Quote:

Originally Posted by ConnorMcLeod (Post 2057984)
Why have you put 'stock' in front of private functions ?

fixed.


Plugin Updated Version 0.0.3

[ OPTIMIZED ] Rewrote menu layout ( easier to use )
[ EDITED ] menu now shows Save / Remove Location menus
[ ADDED ] saving player view angle at origin of teleport


All times are GMT -4. The time now is 00:24.

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