Update Vehicle Damage Status problem...
#1

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:
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);} 
Help plz
Sorry for my bad english
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)