Random items twice
#4

You could create a global variable for every player which stores the random number and read it when creating the dropoff location:

pawn Код:
// Top of script:
new CurrentLoad[MAX_PLAYERS];

// @CreateTruckPickup:
CurrentLoad[playerid] = random1;

// @CreateTruckDropoff:
// In the format function, change 'PickupLoc[random1][ITEM]' to:
PickupLoc[CurrentLoad[playerid]][ITEM]
Reply


Messages In This Thread
Random items twice - by Markus1337 - 16.01.2015, 06:32
Re: Random items twice - by Markus1337 - 16.01.2015, 09:35
Re: Random items twice - by Markus1337 - 18.01.2015, 16:22
Re: Random items twice - by Schneider - 18.01.2015, 17:22

Forum Jump:


Users browsing this thread: 1 Guest(s)