29.06.2011, 01:40
Heyoh!
So here is a problem, I've got a random tier destroying (something like someone shot it) however I've got a function
which chooses random tier HOWEVER it tokes more than one as I want only one to be taken off?
Here is the rest of the script
So here is a problem, I've got a random tier destroying (something like someone shot it) however I've got a function
pawn Код:
new rand = random(sizeof(gTires));
Here is the rest of the script
pawn Код:
SendClientMessage(playerid, COLOR_CRIMSON,"[WARNING]: One of your tires have gone flat!");
UpdateVehicleDamageStatus(GetPlayerVehicleID(playerid),0,0,0,dTires[rand]);
return 1;
}