Raised This Month: $ Target: $400
 0% 

Traceline is acting weird again...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 06-24-2014 , 23:42   Re: Traceline is acting weird again...
Reply With Quote #6

PHP Code:
public zn_camthink(ent)
{
    if( !
is_valid_ent(ent) ) return HAM_IGNORED
    
static id
    id 
peventpev_owner )
    if( 
peventpev_team ) != 159 ) return HAM_IGNORED
    
if( !is_user_connected(id) ) 
    {
        
remove_entity(ent)
        
zn_cament[id] = 0
        
return HAM_SUPERCEDE
    
}
    static 
Float:o[3], Float:o2[3], Float:a[3]
    
pevidpev_origin)
    
pevidpev_v_angle)
    
a[1] += 180.0
    
if( a[1] > 360.0 a[1] -= 360.0
    a
[0] *= -1.0
    zn_velocity_by_angle
a100.0o2)
    
o2[0] += o[0
    
o2[1] += o[1
    
o2[2] += o[2]
    static 
tr
    tr 
create_tr2();
    
engfuncEngFunc_TraceLineoo2IGNORE_MONSTERSidtr );
    
// engfunc(EngFunc_TraceHull, o, o, DONT_IGNORE_MONSTERS, HULL_HEAD, 0, 0)
    
get_tr2trTR_vecEndPos)
    
// o[0] -= o2[0] * 0.95
    // o[1] -= o2[1] * 0.95
    // o[2] -= o2[2] * 0.95
    
set_peventpev_origin)
    
pevidpev_v_angle)
    
set_peventpev_angles)
    
// set_pev( id, pev_angles, Float:{0.0, 0.0, 0.0} )
    
    
set_peventpev_nextthinkget_gametime() + 0.01 )
    return 
HAM_IGNORED

still same
.Dare Devil. 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:06.


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