[PROBLEM]Gift system problem
#2

The code is probably off, but you can probably get the idea of what I mean with this.

pawn Код:
if(gift == 10)
                    {
                        PurchaseVehicleFromDealer(playerid, 487, 0, 100);
                        SendClientMessage(playerid,-1,"Ai castigat un Maverick");
                                                format(string, sizeof(string), "There are %i cars in the giftbox.", giftnumber); //Be sure to make a string variable and have a variable that keeps track of how many vehicles are left.
                                                SendClientMessage(playerid, -1, string);
                    }
Reply


Messages In This Thread
[PROBLEM]Gift system problem - by Sn4ke2 - 18.03.2016, 00:02
Re: [PROBLEM]Gift system problem - by DTV - 18.03.2016, 18:31

Forum Jump:


Users browsing this thread: 1 Guest(s)