Remove 5 Car Doors
#6

Quote:
Originally Posted by NaS
Посмотреть сообщение
The values for the doors are displayed in bits, so 111 shouldn't be a decimal number but binary.

111 in binary equals 7 in decimal, so to toggle all doors you need to use the value 7 or write it in binary format:

Код:
UpdateVehicleDamageStatus(vehicleid, panels, 0b111, lights, tires);
Thx, Why dont remove car doors ??
Reply


Messages In This Thread
Remove 5 Car Doors - by bookknp - 04.05.2018, 10:57
Re: Remove 5 Car Doors - by CrystalGamer - 04.05.2018, 11:23
Re: Remove 5 Car Doors - by Dayrion - 04.05.2018, 11:23
Re: Remove 5 Car Doors - by bookknp - 04.05.2018, 11:33
Re: Remove 5 Car Doors - by NaS - 04.05.2018, 13:17
Re: Remove 5 Car Doors - by bookknp - 04.05.2018, 14:44
Re: Remove 5 Car Doors - by Dayrion - 04.05.2018, 16:03
Re: Remove 5 Car Doors - by Dayrion - 04.05.2018, 20:41
Re: Remove 5 Car Doors - by bookknp - 04.05.2018, 20:50
Re: Remove 5 Car Doors - by Dayrion - 05.05.2018, 10:15

Forum Jump:


Users browsing this thread: 1 Guest(s)