Raised This Month: $ Target: $400
 0% 

Looking at?..


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
DahVid
Senior Member
Join Date: Jun 2005
Old 08-24-2005 , 17:56   Looking at?..
Reply With Quote #1

Well, I'm making a plugin but I can't really get a grasp on it.

I'm trying to figure out how to find the closest player who's looking at you, and you are looking at him..

Also, how do I get an entity for a player. My friend suggest that I use is_visible. Sounds logical (If theres not a better way) but I don't use engine much.

I was thinking its like..
new player=find_ent_by_class(-1,"Player")
DahVid 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 14:18.


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