Raised This Month: $ Target: $400
 0% 

es_getplayerlocation


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
awuh0
Senior Member
Join Date: Apr 2005
Location: /dev/null
Old 06-16-2005 , 15:27   es_getplayerlocation
Reply With Quote #1

umm I dont have the faintist idea how to use this, so can I have an example please
__________________
~The_wUh
_________________
Ph34r teh zombies!!!
find a better way to play CSS, connect to...
thewuh.servebeer.com
thecircus.servebeer.com
awuh0 is offline
Send a message via ICQ to awuh0 Send a message via AIM to awuh0 Send a message via MSN to awuh0
ToAo82
Member
Join Date: Apr 2005
Old 06-16-2005 , 17:36  
Reply With Quote #2

Got this in player_spawn.cfg

es_setinfo x 0
es_setinfo y 0
es_setinfo z 0

//Teleport Sequenz 1
es_getplayerlocation x y z event_var(userid)
es_math z - 250
es nm_teleport event_var(es_username) server_var(x) server_var(y) server_var(z)

<..>

//Teleport Sequenz 2
es_getplayerlocation x y z event_var(userid)
es_math z + 250
es nm_teleport event_var(es_username) server_var(x) server_var(y) server_var(z)

This few lines teleport the player under his spawn and then back..
I use it for a sort of autobuy in combination with nemoD..

It works great!
ToAo82 is offline
awuh0
Senior Member
Join Date: Apr 2005
Location: /dev/null
Old 06-16-2005 , 17:48  
Reply With Quote #3

Unknown command "es_getplayerlocation"
__________________
~The_wUh
_________________
Ph34r teh zombies!!!
find a better way to play CSS, connect to...
thewuh.servebeer.com
thecircus.servebeer.com
awuh0 is offline
Send a message via ICQ to awuh0 Send a message via AIM to awuh0 Send a message via MSN to awuh0
XE_ManUp
Senior Member
Join Date: Mar 2005
Location: Charlotte, NC
Old 06-16-2005 , 17:53  
Reply With Quote #4

Quote:
Originally Posted by awuh0
Unknown command "es_getplayerlocation"
You DO have v0.8.2 , right?

plugin_print
XE_ManUp is offline
awuh0
Senior Member
Join Date: Apr 2005
Location: /dev/null
Old 06-16-2005 , 17:57  
Reply With Quote #5

umm well thats wierd... no I have 8.0 .... but I am sure I grabbed and installed 8.2
.. re installing, will get back to this later
__________________
~The_wUh
_________________
Ph34r teh zombies!!!
find a better way to play CSS, connect to...
thewuh.servebeer.com
thecircus.servebeer.com
awuh0 is offline
Send a message via ICQ to awuh0 Send a message via AIM to awuh0 Send a message via MSN to awuh0
awuh0
Senior Member
Join Date: Apr 2005
Location: /dev/null
Old 06-16-2005 , 18:29  
Reply With Quote #6

yup all better now... I must have installed it wrong somehow... or not stopped the server
__________________
~The_wUh
_________________
Ph34r teh zombies!!!
find a better way to play CSS, connect to...
thewuh.servebeer.com
thecircus.servebeer.com
awuh0 is offline
Send a message via ICQ to awuh0 Send a message via AIM to awuh0 Send a message via MSN to awuh0
Mattie
Veteran Member
Join Date: Jan 2005
Old 06-16-2005 , 18:32  
Reply With Quote #7

Quote:
Originally Posted by XE_ManUp
Quote:
Originally Posted by awuh0
Unknown command "es_getplayerlocation"
You DO have v0.8.2 , right?

plugin_print
As a reminder, you can also check version from your client console without rcon. You can just type "eventscripts_version" or "es_version" and it'll 'es_tell' you the version.

-Mattie
Mattie is offline
Reply



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 17:38.


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