SA-MP Forums Archive
Update Vehicle Damage Status problem... - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Update Vehicle Damage Status problem... (/showthread.php?tid=490474)



Update Vehicle Damage Status problem... - Ins1d3 - 26.01.2014

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(vidpanelsdoorslightstires);
UpdateVehicleDamageStatus(vid0101doorslightstires);}
case 
1:{
new 
vid GetPlayerVehicleID(playerid);
GetVehicleDamageStatus(vidpanelsdoorslightstires);
UpdateVehicleDamageStatus(vid1010doorslightstires);} 
Help plz
Sorry for my bad english