Raised This Month: $ Target: $400
 0% 

Index out of bound


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
edgaras85
Senior Member
Join Date: Mar 2010
Location: Lithuania
Old 10-19-2010 , 07:14   Index out of bound
Reply With Quote #1

PHP Code:
public join_team(id
{
        if (
get_user_flags(id) & ( ADMIN_KICK ADMIN_LEVEL_A )) 
    {
        
remove_task(id)
        return 
PLUGIN_CONTINUE
    
}
    
        new 
arg[2
        
read_argv(1arg1)
        [
code]if (blockjoining[str_to_num(arg)-1] == true)[/code]        {
                
engclient_cmd(id"chooseteam"
                return 
PLUGIN_HANDLED 
        

    
        return 
PLUGIN_CONTINUE 

in code Is 161 line

Quote:
L 10/16/2010 - 111:12: [AMXX] Displaying debug trace (plugin "teamlocker.amxx")
L 10/16/2010 - 111:12: [AMXX] Run time error 4: index out of bounds
L 10/16/2010 - 111:12: [AMXX] [0] teamlocker.sma::join_team (line 161)
__________________

Last edited by edgaras85; 10-19-2010 at 07:16.
edgaras85 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 10:20.


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