01.07.2014, 08:54
Quote:
i dont understand than .. can u help me too ?
i need a code for remove in all my GM car dors Driver and Co Driver please paste me a code |
Quote:
Код:
The first byte stores the state of the hood The second byte stores the state of the trunk The third byte stores the state of the drivers door The fourth byte stores the state of the co-drivers door pawn Код:
Код:
The first bit stores whether the door is opened(1) or not(0) (the door will still lock (and change the first bit to 0) if closed - its just open) The second bit stores whether the door is damaged(1) or not(0) (If you want a damaged door to turn normal you have to remove and re-attach it undamaged) The third bit stores whether the door is removed(1) or attached(0) The rest of the bits are empty pawn Код:
|
pawn Код:
//OnGameModeInit or the function you create all your vehicles in
for(new i = 0; i < MAX_VEHICLES; i++) UpdateVehicleDamageStatus(i, panels, doors, lights, tires);