Raised This Month: $ Target: $400
 0% 

Again native error (native "set_view")


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Xellath
Veteran Member
Join Date: Dec 2007
Location: Sweden
Old 06-22-2009 , 04:33   Re: Again native error (native "set_view")
Reply With Quote #4

PHP Code:
public event_deathmsgM() 

    new 
victim read_data(2);
 
    
g_alive[victim] = false
 
    
g_glowtask[victim] = false
 
    
g_Player_Item_Picked[victim] = false
 
    
ResetItems(victim);

PHP Code:
ResetItems(client

    if( 
pev_valid(g_ent[client]) ) 
    { 
        
engfunc(EngFunc_RemoveEntityg_ent[client]); 
        
g_ent[client] = 0
    } 
 
    
set_view(client,CAMERA_NONE);

Since this is only used on one player, we wont need to loop the players.
__________________
Achievements API - a simple way for you to create your OWN custom achievements!
Xellath 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 15:42.


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