Raised This Month: $12 Target: $400
 3% 

index out of bounds


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Arenmake
Junior Member
Join Date: Apr 2012
Old 04-15-2012 , 14:15   index out of bounds
Reply With Quote #1

hi

I get this error in this code:

PHP Code:
extra_timer[id][EXTRA_CLIP] = 40 // secs
check_timer(idEXTRA_CLIP)

// ....

public check_timer(iditem)
{
    
extra_timer[id][item]--;

    if (
extra_timer[id][item] > 0)
    {
        new 
args[1]
        
args[0] = item
        
        set_task
(1.0"check_timer"idargssizeof args)
    }
    else
    {
        
extra_timer[id][item] = 0
    
}


Last edited by Arenmake; 04-15-2012 at 14:15.
Arenmake is offline
 


Thread Tools
Display Modes

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 14:52.


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