Chat box gets spammed then server crashes
#3

pawn Код:
public CamTime()
{
    for(new i; i<MAX_PLAYERS; i++)
    {
        SpawnInRound(i);
        SetTimer("RoundTimer", 60000, false);
    }
    return 1;
}
CamTime gets called in these stocks

pawn Код:
stock StartDesertRound()
{
    for(new i; i<MAX_PLAYERS; i++)
    {
        SendClientMessage(i, COLOR_YELLOW, " Map: Desert ");
        SendClientMessage(i, COLOR_YELLOW, "Round Time: 10 minutes ");
        SendClientMessage(i, COLOR_YELLOW, "Rack up as many kills as you can!");
        SendClientMessage(i, COLOR_YELLOW, "At the end of the round voting for the next will begin!");
        SetPlayerCameraPos(i, -218.8484, 1851.0262, 168.4845);
        SetPlayerPos(i, -218.8484,1851.0262,168.4845);
        SetPlayerCameraLookAt(i, -231.0072,1644.3071,67.1937);
        ShowPlayerDialog(i, 4, DIALOG_STYLE_LIST, "Weapons", "Deagle\rShotgun\nSniper\rDeagle\nAk47\rDeagle\nM4\rMP5", "Ok", "");
        desertround = 1;
        SetPlayerHealth(i, 100);
        SetTimer("CamTime", 20000, false);
        TogglePlayerControllable(i, 0);
        roundinprogress = true;
    }
    return 1;
}
stock StartWoodsRound()
{
    for(new i; i<MAX_PLAYERS; i++)
    {
        SendClientMessage(i, COLOR_YELLOW, " Map: Woods ");
        SendClientMessage(i, COLOR_YELLOW, "Round Time: 10 minutes ");
        SendClientMessage(i, COLOR_YELLOW, "Rack up as many kills as you can!");
        SendClientMessage(i, COLOR_YELLOW, "At the end of the round voting for the next will begin!");
        SetPlayerCameraPos(i, -1663.4386,-2248.3936,34.4361);
        SetPlayerPos(i, -1663.4386,-2248.3936,34.4361);
        SetPlayerCameraLookAt(i, -1613.8433,-2169.3018,23.7248);
        //ShowPlayerDialog(i, 4, DIALOG_STYLE_LIST, "Weapons", "Deagle\rShotgun\nSniper\rDeagle\nAk47\rDeagle\nM4\rMP5", "Ok", "");
        woodsround ++;
        SetTimer("CamTime", 20000, false);
        roundinprogress = true;
    }
    return 1;
}
stock StartBaysideRound()
{
    for(new i; i<MAX_PLAYERS; i++)
    {
        SendClientMessage(i, COLOR_YELLOW, " Map: Bayside ");
        SendClientMessage(i, COLOR_YELLOW, "Round Time: 10 minutes ");
        SendClientMessage(i, COLOR_YELLOW, "Rack up as many kills as you can!");
        SendClientMessage(i, COLOR_YELLOW, "At the end of the round voting for the next will begin!");
        SetPlayerPos(i, -2669.0940,2213.4553,74.6946);
        SetPlayerCameraPos(i, -2669.0940,2213.4553,74.6946);
        SetPlayerCameraLookAt(i, -2243.0249,2461.7085,4.9764);
        //ShowPlayerDialog(i, 4, DIALOG_STYLE_LIST, "Weapons", "Deagle\rShotgun\nSniper\rDeagle\nAk47\rDeagle\nM4\rMP5", "Ok", "");
        baysideround ++;
        SetTimer("CamTime", 20000, false);
        roundinprogress = true;

    }
    return 1;
}
Reply


Messages In This Thread
Chat box gets spammed then server crashes - by new121 - 18.03.2012, 22:53
Re: Chat box gets spammed then server crashes - by Vince - 18.03.2012, 22:55
Re: Chat box gets spammed then server crashes - by new121 - 18.03.2012, 22:58
Re: Chat box gets spammed then server crashes - by Vince - 18.03.2012, 23:26
Re: Chat box gets spammed then server crashes - by new121 - 18.03.2012, 23:49
Re: Chat box gets spammed then server crashes - by new121 - 19.03.2012, 00:13

Forum Jump:


Users browsing this thread: 3 Guest(s)