Raised This Month: $ Target: $400
 0% 

Need code


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
grimvh2
Veteran Member
Join Date: Nov 2007
Location: Fishdot Nation
Old 07-14-2010 , 16:18   Re: Need code
Reply With Quote #8

Quote:
Originally Posted by PattyBiena View Post
PHP Code:
public any_public(id)
{
    new 
ententbody
    get_user_aiming
(idententbody)
    
    if(
ent)
    {
        new 
szClassname[32], originF[3], originF2[3]
        
        
pev(entpev_classnameszClassnamecharsmax(szClassname))
        
get_user_origin(entoriginF)
        
get_user_origin(idoriginF2)
        
        if(
equal(szClassname"player") && get_distance(originForiginF2) > 500.0)
        {
            
// code
        
}
    } 

why in god's name would u do that?

Code:
Description
  get_user_aiming - Traces where a player is aiming for a maximum  distance defaulted to 9999.
  get_user_aiming ( index, &id,  &body, [ distance ] )
__________________
I am out of order!
grimvh2 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 07:04.


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