SA-MP Forums Archive
Crash Info help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Crash Info help (/showthread.php?tid=394200)



Crash Info help - Patrick - 21.11.2012

my server crashes and i downloaded crash detect plugin the newest 1 can anyone help me? fix this pls? help + rep those who can help me

pawn Код:
[16:40:05] [debug] Server crashed while executing IT.amx
[16:40:05] [debug] AMX backtrace:
[16:40:05] [debug] #0 native SendClientMessageToAll () [00470c30] from samp-server.exe
[16:40:05] [debug] #1 000a2ffc in public RandomMessage () from IT.amx
[16:40:05] [debug] System backtrace:
this is on public RandomMessage()
pawn Код:
public RandomMessage()
{
    new mrand =random(10);
    new string[128];
    if(mrand == 1)
    {
        format(string,sizeof(string),"[AeroBot]: Visit our website and forums at: %s.",sweb);
        SendClientMessageToAll(COLOR_LIMEGREEN,string);
        SendClientMessageToAll(COLOR_LIMEGREEN,"This is where you will meet and greet all of our regular players and Administrators.");
        SendClientMessageToAll(COLOR_LIMEGREEN,"You can also recieve information or ask questions here, so pop in every once and a while.");
    }
    if(mrand == 2)
    {
        format(string,sizeof(string),"[AeroBot]:How To Be A Regular Player? Get A 700 Score or donate for instant Regular player.");
        SendClientMessageToAll(COLOR_LIMEGREEN,string);
    }
    if(mrand == 3)
    {
        SendClientMessageToAll(COLOR_LIMEGREEN,"[AeroBot]: We have quite strict rules here at %s, so if you want to stay safe, read /rules and /pc.");
        SendClientMessageToAll(COLOR_LIMEGREEN,"If you are caught breaking these rules, you may be punished by our Server Administrators.");
    }
    if(mrand == 4)
    {
        SendClientMessageToAll(COLOR_LIMEGREEN,"[AeroBot]: Our Regular Player system lets players use extra commands such as:");
        SendClientMessageToAll(COLOR_LIMEGREEN,"Being able to talk to all Regular Players through the use of the /rc command.");
        SendClientMessageToAll(COLOR_LIMEGREEN,"Being able to place roadblocks while spawned as law enforcement with /crb.");
        SendClientMessageToAll(COLOR_LIMEGREEN,"To become a regular player you must have 700 score or donate for instant");
    }
    if(mrand == 5)
    {
        SendClientMessageToAll(COLOR_LIMEGREEN,"[AeroBot]: Check /updates for more news and updates that we loaded on server");
    }
    if(mrand == 6)
    {
        SendClientMessageToAll(COLOR_LIMEGREEN,"[AeroBot]: We have A Teamspeak 3 Server where you can talk to your friends and even talk to players ingame while your not ingame.");
        SendClientMessageToAll(COLOR_LIMEGREEN,"To Connect Use This IP: 84.25.134.159:9988");

    }
    if(mrand == 7)
    {
        format(string,sizeof(string),"[AeroBot]: %s scripters are always checking for new things to add to the server.");
        SendClientMessageToAll(COLOR_LIMEGREEN,string);
        format(string,sizeof(string),"If you have an idea to give them, then post in our suggestions board located on our forums at: %s.",sweb);
        SendClientMessageToAll(COLOR_LIMEGREEN,string);
    }
    if(mrand == 8)
    {
        SendClientMessageToAll(COLOR_LIMEGREEN,"[AeroBot]: Hacking and the use of ilegal mods are strictly not permitted on this server.");
        SendClientMessageToAll(COLOR_LIMEGREEN,"[AeroBot]: If you see a hacker, ilegal modder, or rule breaker, then use '/report (Player Name/ID) (Reason)' to report them to our Server Admin.");
    }
    if(mrand == 9)
    {
        format(string,sizeof(string),"[AeroBot]: Here at %s, we have an FBI class that enables you to use better law enforcement vehicles.",svname);
        SendClientMessageToAll(COLOR_LIMEGREEN,string);
        SendClientMessageToAll(COLOR_LIMEGREEN,"You can use this class when you reach 250 score, so if it appeals to you, then get working towards the score you need!");
    }
    /*if(mrand == 10)
    {
        SendClientMessageToAll(COLOR_LIMEGREEN,"[AeroBot]: We are always on the lookout for new Server Administrators to replace old or retired ones.");
        SendClientMessageToAll(COLOR_LIMEGREEN,"You never know, if you behave well and don't break the rules, you could be chosen to become one.");
        SendClientMessageToAll(COLOR_LIMEGREEN,"Just remember, you should never ask to become a Server Administrator as we choose them and it lowers your chances of becoming one.");
    }*/

}