Panels Damage
#1

Sorry for my language.


I create car fix system. This system can fix one of the parts in the car service. Left lights, right light.... everything. This like at real system life for RP serwer.

But i have problem with panels... This problem may be a pawn bug.

I'll give an example of the original code not changed pawn.



Why this code fix all car:

Код:
UpdateVehicleDamageStatus(vehid,0,0,0,0);
But this code cant fix panels i ask why?

pawn Код:
GetVehicleDamageStatus(vehid, panels, doors, lights, tires);
UpdateVehicleDamageStatus(vehid,0, doors, lights, tires);
He unfortunately works just as it would look exactly like this:
pawn Код:
GetVehicleDamageStatus(vehid, panels, doors, lights, tires);
UpdateVehicleDamageStatus(vehid,panels, doors, lights, tires);
Pleas help me
Reply


Messages In This Thread
Panels Damage - by Wilhelm1720 - 01.05.2014, 18:03

Forum Jump:


Users browsing this thread: 1 Guest(s)