OnVehicleDamageStatusUpdate - 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: OnVehicleDamageStatusUpdate (
/showthread.php?tid=411098)
OnVehicleDamageStatusUpdate -
iArko - 27.01.2013
Doesn't matter anymore.
Re: OnVehicleDamageStatusUpdate -
kesem140599 - 27.01.2013
Try This :
PHP код:
CMD:test(playerid, params[]) {
new panels, doors, lights, tires;
GetVehicleDamageStatus(GetPlayerVehicleID(playerid),, panels, doors, lights, tires);
UpdateVehicleDamageStatus(GetPlayerVehicleID(playerid), panels, 1, lights, 15);
return 1;
}
Shoold Be Work.
Re: OnVehicleDamageStatusUpdate -
iArko - 27.01.2013
Quote:
Originally Posted by kesem140599
Try This :
PHP код:
CMD:test(playerid, params[]) {
new panels, doors, lights, tires;
GetVehicleDamageStatus(GetPlayerVehicleID(playerid),, panels, doors, lights, tires);
UpdateVehicleDamageStatus(GetPlayerVehicleID(playerid), panels, 1, lights, 15);
return 1;
}
Shoold Be Work. 
|
Thanks but I know what I did wrong
Re: OnVehicleDamageStatusUpdate -
iArko - 27.01.2013
Ok new problem how would I make all the doors ((Hood and truck included)) fall off?