13.09.2015, 14:34
SetVehicleHealth: https://sampwiki.blast.hk/wiki/SetVehicleHealth
Use loops to get a vehicle's model id by GetVehicleModel and set the health to 2000.
Use loops to get a vehicle's model id by GetVehicleModel and set the health to 2000.
pawn Код:
for (new i; i < MAX_VEHICLES; i++) {
if (GetVehicleModel(i) == fagio_model_id) {
SetVehicleHealth(i, 2000);
}
}

