01.05.2014, 18:03
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:
But this code cant fix panels i ask why?
He unfortunately works just as it would look exactly like this:
Pleas help me
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);
pawn Код:
GetVehicleDamageStatus(vehid, panels, doors, lights, tires);
UpdateVehicleDamageStatus(vehid,0, doors, lights, tires);
pawn Код:
GetVehicleDamageStatus(vehid, panels, doors, lights, tires);
UpdateVehicleDamageStatus(vehid,panels, doors, lights, tires);