Fixing only wheels
#1

Hey.
I want to add my script that someone can fix only car wheels and other stuff like it.
I seartched from samp wiki and ******, but i didnґt found it... Is this possible? And if it is then please add link from toturial or smth
Thanks!
Reply
#2

You can use the UpdateVehicleDamageStatus function to do it .



To fix only the car wheels, for example, you can use :



pawn Код:
new VehicleStuff[4];
GetVehicleDamageStatus(vehicleid,VehicleStuff[0],VehicleStuff[1],VehicleStuff[2],VehicleStuff[3]);
UpdateVehicleDamageStatus(vehicleid,VehicleStuff[0],VehicleStuff[1],VehicleStuff[2], 0);


I hope that i have helped .
Reply
#3

Wow, it helped! Thank you!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)