Server SHutdown
#1

Someone just type something on /b

On console it shows like http://www.bildites.lv/images/ascx8vpo7sm5yzzdzdk7.png and server shutdowns
Reply
#2

Use Crash Detect plugin and try to type that again.
Reply
#3

Can you show your /b command?
Reply
#4

PHP код:
CMD:b(playerid,params[])
{
    if(
gPlayerLogged{playerid} == 0)
    {
        
SendClientMessageEx(playeridCOLOR_GREY"You're not logged in.");
        return 
1;
    }
    if(
isnull(params)) return SendClientMessageEx(playeridCOLOR_WHITE"USAGE: /b [local ooc chat]");
    new 
string[128];
    
    if(
strlen(params) > MAXLEN)
    {
        new 
pos MAXLEN;
        if(
pos MAXLEN-1pos MAXLEN;
        
format(stringsizeof(string), "(( %s (%d): %.*s ... ))"GetPlayerNameEx(playerid), playeridposparams);
        
ProxDetector(20.0playeridstring,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
        
format(stringsizeof(string), "(( %s (%d): ... %s ))",GetPlayerNameEx(playerid), playeridparams[pos]);
        
ProxDetector(20.0playeridstring,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
    }
    else if(
aDuty[playerid] == 1)
    {
        
format(stringsizeof(string), "(( %s {FFFFFF}(%d): %s ))"GetPlayerNameEx(playerid), playeridparams);
        
ProxDetector(20.0playeridstring,COLOR_GREEN,COLOR_GREEN,COLOR_GREEN,COLOR_GREEN,COLOR_GREEN);
    }
    else if(
PlayerInfo[playerid][pMasked] == 1)
    {
        
format(stringsizeof(string), "(( Stranger:  %s ))"params);
        
ProxDetector(20.0playeridstring,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
    }
    else
    {
        
format(stringsizeof(string), "(( %s (%d): %s ))"GetPlayerNameEx(playerid), playeridparams);
        
ProxDetector(20.0playeridstring,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
    }
    return 
1;

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)