DynamicCP
#5

I dont think it's the issue here since it's not even called, but here you go:
pawn Код:
public TruckingCompleted(playerid)
{
    new string[126];
    new random_money = DropLoc[playerid][minPay]+random(DropLoc[playerid][maxPay]); //Random money based on minPay and maxPay in the array.
       
    GameTextForPlayer(playerid, string, 3000, 3);
    format(string, sizeof(string), "Truck Delivery Completed~n~~g~%s$", random_money);
    GivePlayerMoney(playerid, random_money);

    DestroyDynamicCP(DropoffCP[playerid]); //Destroys the checkpoint once delivery is completed.
    return 1;
}
Reply


Messages In This Thread
DynamicCP - by Markus1337 - 15.01.2015, 05:36
Re: DynamicCP - by CalvinC - 15.01.2015, 05:43
Re: DynamicCP - by Markus1337 - 15.01.2015, 05:46
Re: DynamicCP - by CalvinC - 15.01.2015, 06:26
Re: DynamicCP - by Markus1337 - 15.01.2015, 06:36
Re: DynamicCP - by Markus1337 - 16.01.2015, 04:15
Re: DynamicCP - by CalvinC - 16.01.2015, 05:39
Re: DynamicCP - by Markus1337 - 16.01.2015, 05:46

Forum Jump:


Users browsing this thread: 1 Guest(s)