Raised This Month: $ Target: $400
 0% 

coordinates


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
TotalNoobScripter
Senior Member
Join Date: Aug 2004
Old 10-15-2004 , 22:34   coordinates
Reply With Quote #1

how would I get the coordinates of a player? because I cant edit a map im using it for, i need to make it use player coordinates. If a player is at the coordinates, a say cmd will be functional to them. Also, how would i get if a player is WITHIN a area of the map, as in would i have to get the coordinates for 4 corners of an imaginary square, and then make a plugin that says if blah is in blah?
TotalNoobScripter is offline
Send a message via AIM to TotalNoobScripter
twistedeuphoria
Veteran Member
Join Date: Jul 2004
Old 10-16-2004 , 01:08  
Reply With Quote #2

http://www.amxmodx.org/funcwiki.php?go=func&id=162
__________________
twistedeuphoria is offline
TotalNoobScripter
Senior Member
Join Date: Aug 2004
Old 10-16-2004 , 14:10   ok
Reply With Quote #3

ok now i got that, hwo do i make it so that it will know if a player is within a 'field' of coordinates?
TotalNoobScripter is offline
Send a message via AIM to TotalNoobScripter
twistedeuphoria
Veteran Member
Join Date: Jul 2004
Old 10-16-2004 , 17:34  
Reply With Quote #4

something like
Code:
if(25 > origin[0] > 50) dostuff
would probably work, i dont know if theres a better way
__________________
twistedeuphoria is offline
Reply


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


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