GetClosestTire
#10

Thank you very much Tannz0rz.

I have one other question if anyone could help I want to update one of the tires damage status while keeping the others the same. I know you would do something like this to damage all of them

Код:
new panels, doors, lights, tires;
new carid = GetPlayerVehicleID(playerid);
GetVehicleDamageStatus(carid, panels, doors, lights, tires);
tires = encode_tires(1, 1, 1, 1);
UpdateVehicleDamageStatus(carid, panels, doors, lights, tires);
I want to find a way to do something like

Код:
new panels, doors, lights, tires;
new carid = GetPlayerVehicleID(playerid);
GetVehicleDamageStatus(carid, panels, doors, lights, tires);
tires = encode_tires(1, tire2, tire3, tire4);
UpdateVehicleDamageStatus(carid, panels, doors, lights, tires);
So I could damage the first tire while keeping the others the same (whether popped or not)
Reply


Messages In This Thread
GetClosestTire - by MisterTickle - 02.11.2010, 20:32
Re: GetClosestTire - by (SF)Noobanatior - 02.11.2010, 20:43
Re: GetClosestTire - by Bessensap - 02.11.2010, 21:08
Re: GetClosestTire - by boelie - 02.11.2010, 21:13
Respuesta: GetClosestTire - by MrDeath537 - 02.11.2010, 21:17
Re: GetClosestTire - by boelie - 02.11.2010, 21:20
Re: GetClosestTire - by Miguel - 02.11.2010, 21:48
Re: GetClosestTire - by Bessensap - 02.11.2010, 22:24
Re: GetClosestTire - by Tannz0rz - 02.11.2010, 22:45
Re: GetClosestTire - by MisterTickle - 04.11.2010, 07:03

Forum Jump:


Users browsing this thread: 1 Guest(s)