Raised This Month: $ Target: $400
 0% 

SOLID_TRIGGER and get_user_aiming


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Rolnaaba
Veteran Member
Join Date: May 2006
Old 07-23-2007 , 22:56   Re: SOLID_TRIGGER and get_user_aiming
Reply With Quote #2

Code:
register_event("StatusValue", "_StatusValue", "be", "1=2", "2!0"); public _StatusValue(targeter) {     new target = read_data(2);     new solid = pev(target, pev_solid); //detect solid     /*pev_solid returns the following:         SOLID_NOT                       0           // No interaction with other objects         SOLID_TRIGGER                   1           // Touch on edge, but not blocking         SOLID_BBOX                      2           // Touch on edge, block         SOLID_SLIDEBOX                  3           // Touch on edge, but not an onground         SOLID_BSP                       4           // BSP clip, touch on edge, block     */         if(solid == SOLID_TRIGGER) {         //then they solid,     }         return PLUGIN_CONTINUE; }
__________________
DO NOT PM me about avp mod.

Last edited by Rolnaaba; 07-23-2007 at 23:02.
Rolnaaba 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 21:24.


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