13.05.2013, 05:22
The function GetVehicleHealth doesn't return a specific value but the second parameter saves the vehicle health. You're trying to set the vehicles health as the value that GetVehicleHealth returns, probably is one. The variable health is what the vehicles health is actually saved into. Change
to
pawn Код:
SetVehicleHealth(carid, vhealth);
pawn Код:
SetVehicleHealth(carid, health);
