Error Command
#2

Код:
CMD:thaluoi(playerid, params[])
{
    if (!IsABoat(GetPlayerVehicleID(playerid)))
    {
        if (PlayerInfo[playerid][pLuoica] >= 1)
        {
            PlayerInfo[playerid][pLuoica] -= 1;
            PlayerInfo[playerid][pThaluoi] += 1;
            SendClientMessageEx(playerid, COLOR_WHITE, "Ban dang tha luoi xuong bien, Neu ban di chuyen chiec thuyen di la se that bai.");
            SetTimerEx("Thaca", 120000, 0, "d", playerid);
        }
        else
        {
            SendClientMessageEx(playerid, COLOR_GRAD1, "Ban khong co luoi danh ca, hay lai ong lao ngu dan de mua luoi.");
        }
    }
    else
    {
        SendClientMessageEx(playerid, COLOR_GRAD1, "Ban phai trong thuyen moi co the tha luoi.");
    }
    return 1;
}
Reply


Messages In This Thread
Error Command - by ducmcmca1 - 20.12.2017, 14:07
Re: Error Command - by Konstantinos - 20.12.2017, 14:08
Re: Error Command - by ducmcmca1 - 20.12.2017, 14:11

Forum Jump:


Users browsing this thread: 1 Guest(s)