24.05.2015, 09:51
Not update Damage Status for vehicle.
Not Set Health Vehicle correctly.
Not Set Health Vehicle correctly.
Код HTML:
public OnEnterExitModShop(playerid, enterexit, interiorid) { new veh = GetPlayerVehicleID(playerid); new panels, doorss, lightss, tires; if(enterexit == 1) { GetVehicleDamageStatus(veh, panels, doorss, lightss, tires); GetVehicleHealth(veh, healthh); } if(enterexit == 0) { UpdateVehicleDamageStatus(veh, panels, doorss, lightss, tires); SetVehicleHealth(veh, healthh); } return 1; }