Server crash after using command.
#1

My server were crashing and auto turned-off. I don't know what is the reason.
This is the command that I used.

pawn Код:
COMMAND:whupgrade(playerid)
{
    if(PlayerInfo[playerid][ranklvl] > 0) return SendClientError(playerid, CANT_USE_CMD);
    new wh = IsAtOwnWareHouse(playerid);
    WareHouseLoop(t)
    {
        if(IsPlayerInSphere(playerid, WareHouse[t][WareHouse_x], WareHouse[t][WareHouse_y], WareHouse[t][WareHouse_z], 5))
        {
            if(wh < 1) return SendClientError(playerid, "You are not outside your own faction warehouse");
            ShowPlayerDialog(playerid, 60, DIALOG_STYLE_LIST, ":: Faction Warehouse upgrade ::", "{ffffff}Level 1 ({ff0000}FREE{ffffff})\nLevel 2 ({ff0000}$1,000,000{ffffff})\nLevel 3 ({ff0000}$3,000,000{ffffff})\nLevel 4 ({ff0000}$10,000,000{ffffff})\nLevel 5 ({ff0000}$25,000,000{ffffff})\nLevel 6 ({ff0000}$40,000,000{ffffff})", "Select", "Exit");
        }
    }
    return 1;
}
Reply


Messages In This Thread
Server crash after using command. - by jimdo - 05.08.2016, 16:13
Re: Server crash after using command. - by JustMe.77 - 05.08.2016, 16:23
Re: Server crash after using command. - by jimdo - 05.08.2016, 17:23
Re: Server crash after using command. - by Shady - 05.08.2016, 17:37
Re: Server crash after using command. - by AndySedeyn - 05.08.2016, 17:55
Re: Server crash after using command. - by Vince - 05.08.2016, 17:59

Forum Jump:


Users browsing this thread: 3 Guest(s)