13.09.2015, 14:44
You need to update the HP when the vehicle (re)spawns:
Код:
public OnVehicleSpawn(vehicleid)
{
switch (GetVehicleModel(vehicleid)) // Models
{
case nrg, fagio, x, y, z:
SetVehicleHealth(vehicleid, 2000.0);
}
if (vehicleid == VEHICLE_1) // IDs
SetVehicleHealth(vehicleid, 5000.0);
}

