Raised This Month: $ Target: $400
 0% 

Index out of bounds on set_view.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 06-08-2009 , 03:18   Index out of bounds on set_view.
Reply With Quote #1

I don't have now logs, but i don't understand why it writes index out of bounds(on set_view/invalid player)? I'm doing it for 1 specified client

PHP Code:
public TaskFinishHeal2(client)
{
    if( 
pev_valid(g_ent[client]) )
    {
        
engfunc(EngFunc_RemoveEntityg_ent[client]);
        
g_ent[client] = 0;
    }
    
//    new target = g_target[client];
        
    
new Float:health;
    
pev(clientpev_healthhealth);
    if( 
health 100.0 
    {
        
set_pev(clientpev_healthHEALTH_SET);
    }
            
    
ManageBar(clientBAR_REMOVE);
            
    
g_healing[client] = false;
//    g_target[client] = 0;
            
//    g_being_healed[target] = false;
//    g_healer[target] = 0;
            
    
g_Player_Item_Picked[client] = false;
            
    
set_view(client,CAMERA_NONE);

__________________
xbatista is offline
Send a message via Skype™ to xbatista
 



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 13:57.


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