SA-MP Forums Archive
I want to destroy all doors vehicle? - 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: I want to destroy all doors vehicle? (/showthread.php?tid=606221)



I want to destroy all doors vehicle? - Opeal - 01.05.2016

Код:
encode_doors(bonnet, boot, driver_door, passenger_door, behind_driver_door, behind_passenger_door)
{
    #pragma unused behind_driver_door
    #pragma unused behind_passenger_door
    return bonnet | (boot << 8) | (driver_door << 16) | (passenger_door << 24 );
}
this encode just find two front doors, not find two back doors ..
What i find it ?

sorry, my english is bad ..