Problem with getting jacked
#3

it doesnt work iv already setup that with this:
pawn Код:
if(IsDeliveryVeh(vehicleid))
    {
        new Float:Health;
        GetVehicleHealth(GetPlayerVehicleID(playerid), Health);
        if(Health < 250)
        {
            TogglePlayerDynamicCP(playerid, DeliveryJobCP[0],0);
            TogglePlayerDynamicCP(playerid, DeliveryJobCP[1],0);
            TogglePlayerDynamicCP(playerid, DeliveryJobCP[2],0);
            TogglePlayerDynamicCP(playerid, DeliveryJobCP[3],0);
            TogglePlayerDynamicCP(playerid, DeliveryJobCP[4],0);
            TogglePlayerDynamicCP(playerid, DeliveryJobCP[5],0);
            TogglePlayerDynamicCP(playerid, DeliveryJobCP[6],0);
            TogglePlayerDynamicCP(playerid, DeliveryJobCP[7],0);
            TogglePlayerDynamicCP(playerid, DeliveryJobCP[8],0);
            TogglePlayerDynamicCP(playerid, DeliveryJobCP[9],0);
            TogglePlayerDynamicCP(playerid, DeliveryJobCP[10],0);
            TogglePlayerDynamicCP(playerid, DeliveryJobCP[11],0);
            PlayerInfo[playerid][pDeliveryVeh] = -1;
            DeliverWHpay[playerid] = 0;
            DeliverCounter[playerid] = 0;
            StartingDeliveryJob[playerid] = 0;
            LastDeliveryCP[playerid] = 0;
            DeliveryMission[playerid] = 0;
            SendClientMessage(playerid, COLOR_ORANGE, "Your vehicle is badly damaged. You lost your wage!");
        }
        else
        {
            TogglePlayerDynamicCP(playerid, DeliveryJobCP[0],0);
            TogglePlayerDynamicCP(playerid, DeliveryJobCP[1],0);
            TogglePlayerDynamicCP(playerid, DeliveryJobCP[2],0);
            TogglePlayerDynamicCP(playerid, DeliveryJobCP[3],0);
            TogglePlayerDynamicCP(playerid, DeliveryJobCP[4],0);
            TogglePlayerDynamicCP(playerid, DeliveryJobCP[5],0);
            TogglePlayerDynamicCP(playerid, DeliveryJobCP[6],0);
            TogglePlayerDynamicCP(playerid, DeliveryJobCP[7],0);
            TogglePlayerDynamicCP(playerid, DeliveryJobCP[8],0);
            TogglePlayerDynamicCP(playerid, DeliveryJobCP[9],0);
            TogglePlayerDynamicCP(playerid, DeliveryJobCP[10],0);
            TogglePlayerDynamicCP(playerid, DeliveryJobCP[11],0);
            SendClientMessage(playerid, COLOR_ORANGE, "Don't lose your vehicle or you will lose your wage!");
        }
    }
Reply


Messages In This Thread
Problem with getting jacked - by oblexive - 27.07.2012, 10:03
Re: Problem with getting jacked - by Alexis1999 - 27.07.2012, 10:09
Re: Problem with getting jacked - by oblexive - 27.07.2012, 10:13
Re: Problem with getting jacked - by Alexis1999 - 27.07.2012, 10:24
Re: Problem with getting jacked - by oblexive - 27.07.2012, 10:27
Re: Problem with getting jacked - by Misiur - 27.07.2012, 10:28
Re: Problem with getting jacked - by oblexive - 27.07.2012, 10:29
AW: Problem with getting jacked - by dalkgamler - 27.07.2012, 10:33
Re: Problem with getting jacked - by Misiur - 27.07.2012, 10:36
Re: Problem with getting jacked - by oblexive - 27.07.2012, 10:50

Forum Jump:


Users browsing this thread: 1 Guest(s)