17.11.2018, 15:56
Here's the code sir..
Code:
new carselect[15];
Code:
public OnGameModeInit() ...... ...... new randa = random(sizeof(RandCars)); randa = random(sizeof(RandCars));carselect[0] = RandCars[randa][0]; randa = random(sizeof(RandCars));carselect[1] = RandCars[randa][0]; randa = random(sizeof(RandCars));carselect[2] = RandCars[randa][0]; randa = random(sizeof(RandCars));carselect[3] = RandCars[randa][0]; randa = random(sizeof(RandCars));carselect[4] = RandCars[randa][0]; randa = random(sizeof(RandCars));carselect[5] = RandCars[randa][0]; randa = random(sizeof(RandCars));carselect[6] = RandCars[randa][0]; randa = random(sizeof(RandCars));carselect[7] = RandCars[randa][0]; randa = random(sizeof(RandCars));carselect[8] = RandCars[randa][0]; randa = random(sizeof(RandCars));carselect[9] = RandCars[randa][0]; randa = random(sizeof(RandCars));carselect[10] = RandCars[randa][0]; randa = random(sizeof(RandCars));carselect[11] = RandCars[randa][0]; randa = random(sizeof(RandCars));carselect[12] = RandCars[randa][0]; randa = random(sizeof(RandCars));carselect[13] = RandCars[randa][0]; randa = random(sizeof(RandLCars));carselect[14] = RandLCars[randa][0]; AddStaticVehicleEx(carselect[14], 1279.4,-1337.0,13.5,1.0,-1, -1, -1);//long ........ ........