Raised This Month: $ Target: $400
 0% 

Need code


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
PattyBiena
BANNED
Join Date: Jul 2010
Location: Argentina
Old 07-14-2010 , 16:16   Re: Need code
Reply With Quote #7

Quote:
Originally Posted by Vechta View Post
solved but can you give me code for distance please ?
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
        
}
    } 

PattyBiena 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