Raised This Month: $ Target: $400
 0% 

find if player is aiming at another player


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
Old 07-24-2009 , 13:51   find if player is aiming at another player
Reply With Quote #1

I'm trying to figure out how to code my plugin so that when a player looks at another player (!is_user_bot) it does an emit_sound. I was unsure how to do this using stock fm_get_aim_origin(index, Floatrigin[3]) and then checking if a !is_user_bot is located in that origin. I was also wondering if there is just a simpler way instead of having checks every 0.1 seconds.
__________________

PM me if you're interested in buying the Credits addition for Base Builder
Battlefield Rebirth [66% done]
Call of Duty: MW2 [100% done]
Base Builder [100% done]
Tirant 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 18:17.


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