Raised This Month: $ Target: $400
 0% 

[FATAL ERROR] (shutting down) what does this mean..


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
_lol_
Senior Member
Join Date: Apr 2009
Old 05-10-2009 , 10:32   Re: [FATAL ERROR] (shutting down) what does this mean..
Reply With Quote #14

i was asking my self if it is the problem, i have fixed bunch of arrays indexed to 30, 31, 32, etc, but the problem its not solved T_T

i want to know if maybe the problem is here...

PHP Code:
if(is_user_bot(id)) return PLUGIN_CONTINUE;

    new 
szUserName[32];
    
get_user_name(idszUserName32);
    
    new 
ip[15];
    
get_user_ip(idipcharsmax(ip), 1);

    new 
iPlayers[32], iNumi;
    
get_players(iPlayersiNum);
    
    new 
izStats[8], izBody[8]
    new 
iRankPosiRankMax
      iRankPos 
get_user_stats(id,izStats,izBody)
      
iRankMax get_statsnum()

    for(
0<= iNumi++)
    {
        new 
iPlayers[i];

        if(!
is_user_connected(x) || is_user_bot(x)) 
            continue;

        
client_cmd(x"spk %s"g_sonido_entrada);

        new 
szMessage[164];
        
format(szMessage163"^x01 The player ^x04%s ^x01Has conected to ^x04My sv^x01, His rank is ^x04%i of %i^x01, and his ip is: ^x04%s"szUserName,iRankPos,iRankMax,ip);

        
message_begin(MSG_ONEg_iMsgSayText, {0,0,0}, x);
        
write_byte  (x);
        
write_string(szMessage);
        
message_end ();
    }

    return 
PLUGIN_CONTINUE

maybe i could use emit_sound, and make the message for all, i dont know, could anybody help me?

or this code is fine?u.u
_lol_ 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:13.


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