Raised This Month: $ Target: $400
 0% 

AmxX Command Menu


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Gunny
Senior Member
Join Date: Mar 2004
Location: Magnolia, Texas
Old 08-31-2004 , 02:57  
Reply With Quote #6

have you tried adding the amx_teleport <player> to a predefined set of coordinates?

I have been trying to add it to my custom commandmenu but everytime I try and teleport myself it send me to x:0 y:0z:0, which is usually in a wall or in doors. but if I do it manually from the console it works fine, example from console: amx_teleport ".:TdoW:.Gunny" -2824 96 -299

I think my problem is getting the users name in quotes, but that messes up the code.

This is a sample of mine
Code:
"5" "Teleport"
 			{
 		//Map Specific
		     
		     MAP de_aztec "1" "Teleport"	
		     {
			     "1" "CT Spawn" "amx_teleport .:TdoW:.Gunny -2824 96 -299"
			     "2" "T Spawn" "amx_teleport: .:TdoW:.Gunny 1985 488 -251"
			     "3" "Double Doors CT side" "amx_teleport .:TdoW:.Gunny; -32 -169 -187"
		     }
		
		     MAP de_dust "1" "Teleport"
		     {
			     "1" "CT Spawn" "amx_teleport .:TdoW:. Gunny -224 -1744 100"
			     "2" "T Spawn" "amx_teleport .:TdoW:.Gunny 1740 2882 -70"
			     "3" "Tunnel Ext Tside 1" "amx_teleport .:TdoW:.Gunny -273 2153 81"
			     "4" "Tunnel Ext Ctside 1" "amx_teleport .:TdoW:.Gunny 1411 1392 73"
			     "5" "CT Camping spot 1" "amx_teleport .:TdoW:.Gunny -805 251 68"
			     "6" "Under Bridge" "amx_teleport .:TdoW:.Gunny -1242 1980 -133"
		     }
__________________
TEAM FORTRESS 2 - 70.85.30.25:27015
COUNTER-STRIKE SOURCE - 70.85.30.22:27015
COUNTER-STRIKE SOURCE DEATH MATCH - 70.85.30.23:27015
Gunny is offline
 



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 01:14.


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