Raised This Month: $ Target: $400
 0% 

Is a message triggered when you look at someone in DOD?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
VEN
Veteran Member
Join Date: Jan 2005
Old 06-03-2006 , 14:22  
Reply With Quote #4

I think somethig like this will work, if not, you can try post hook.
But do not run this on <1.75 because of that bug: http://forums.alliedmods.net/showthread.php?t=28004

Code:
new g_phit[33] public plugin_init() {     register_forward(FM_TraceLine, "forward_trace_line") } public forward_trace_line(const Float:start[3], const Float:dest[3], ignore_monsters, skip_ent, ptr) {     if (skip_ent && is_user_alive(skip_ent)) {         new phit = get_tr2(ptr, TR_pHit)         if (phit != g_phit[skip_ent]) {             if (phit && is_user_alive(phit))                 server_print("%d start aiming at %d", skip_ent, phit)             g_phit[skip_ent] = phit         }     } }
VEN 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 16:33.


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