/loadtruck command won't work properly
#2

pawn Код:
CMD:loadtruck(playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid, 866.5, -1212, 16.9, 10))
    {
        if(Removalist[playerid]  == 0)
        {
            Removalist[playerid] = 1;
            SendClientMessage(playerid, GREY, "You have loaded your truck with furniture!");
            SetPlayerCheckpoint(playerid, 850.6198, -1483.6526, 13.3298, 3.0);
            SendClientMessage(playerid, GREY, "Take the furniture to the businesses to receive your payment.  A location has been marked on your map!");
            AddStaticVehicle(515, 850.6198, -1483.6526, 13.3298, 90,  -1, -1);
        }
        else
        {
            SendClientMessage(playerid, GREY, "You are already doing a job!");
        }
    }
    else
    {
        SendClientMessage(playerid, GREY, "You are not in range of the loading area!");
    }
    return 1;
}
Reply


Messages In This Thread
/loadtruck command won't work properly - by Josh_Main - 02.10.2014, 09:00
Re: /loadtruck command won't work properly - by Rudy_ - 02.10.2014, 09:36
Re: /loadtruck command won't work properly - by Josh_Main - 02.10.2014, 09:58
Re: /loadtruck command won't work properly - by Vince - 02.10.2014, 10:07
Re: /loadtruck command won't work properly - by Josh_Main - 02.10.2014, 10:09

Forum Jump:


Users browsing this thread: 2 Guest(s)