Chuyển tới nội dung chính

Vehicle Health

thông tin

The vehicle health value used by SetVehicleHealth and GetVehicleHealth is always between 0 and 1000. A value of 0 means the vehicle will explode, and a value of 1000 means the vehicle doesn't even have a scratch. The effect of the vehicle health value on the engine is illustrated in the table below.

Vehicle healthEffect on the engine
> 650None. The engine is still pretty much fine
550-650The engine is overheating, and will emit white smoke
390-550The engine is overheating pretty badly, and will emit grey smoke
250-390The engine is getting really hot, and will emit black smoke
< 250The engine will catch fire, and the vehicle will explode a few seconds later, unless it gets repaired