26.01.2014, 18:11
Hi guys, today i'm started write a Mechanic System for my server and i'm have a problem. It's problem called "UpdateVehicleDamageStatus"...
I'm want repair a bonnet but bonnet not repair, i want repair a boot, but boot not repair
Code:
Help plz
Sorry for my bad english
I'm want repair a bonnet but bonnet not repair, i want repair a boot, but boot not repair
Code:
PHP код:
case 0:{
//new panels, doors, lights, tires;
new vid = GetPlayerVehicleID(playerid);
GetVehicleDamageStatus(vid, panels, doors, lights, tires);
UpdateVehicleDamageStatus(vid, 0101, doors, lights, tires);}
case 1:{
new vid = GetPlayerVehicleID(playerid);
GetVehicleDamageStatus(vid, panels, doors, lights, tires);
UpdateVehicleDamageStatus(vid, 1010, doors, lights, tires);}
Sorry for my bad english