Raised This Month: $ Target: $400
 0% 

Error logs, help...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
krysteksulek
Member
Join Date: Aug 2013
Location: Poland
Old 11-02-2013 , 12:30   Error logs, help...
Reply With Quote #1

Hi.
I have error logs in one plugin.

Errors after debug:

Code:
L 11/02/2013 - 16:49:57: [AMXX] Displaying debug trace (plugin "cod.amxx")
L 11/02/2013 - 16:49:57: [AMXX] Run time error 4: index out of bounds 
L 11/02/2013 - 16:49:57: [AMXX]    [0] cod.sma::OddajPrzedmiot_Handle (line 4054)
Function:

Code:
public OddajPrzedmiot_Handle(id, menu, item) 
{ 
    if(!is_user_connected(oddaj_id[item])) 
        return PLUGIN_CONTINUE;     
    
    if(dostal_przedmiot[id]) 
    { 
        client_print(id, print_chat, "Wait 1 round"); 
        return PLUGIN_CONTINUE; 
    } 
    if(!informacje_przedmiotu_gracza[id][0]) 
    { 
        client_print(id, print_chat, "You don't have any item"); 
        return PLUGIN_CONTINUE; 
    } 
    if(informacje_przedmiotu_gracza[oddaj_id[item]][0]) 
    { 
        client_print(id, print_chat, "That player have another item!"); 
        return PLUGIN_CONTINUE; 
    } 
    
    UsunPrzedmiot(id); 
    return PLUGIN_CONTINUE; 
}
Where line 4054 is:

Code:
if(!is_user_connected(oddaj_id[item])) 
        return PLUGIN_CONTINUE;
Please help
krysteksulek 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 23:22.


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