Vabene1111
Might return false if player enters a vehicle while underwater.
Results appear below as you type; use the arrow keys to move through them.
If unit is diving and doesn't have a rebreather, it returns false. Diving means the unit's head is underwater. If unit is underwater and has a rebreather, the command returns true.
isAbleToBreathe unit
Parameters:
unit: ObjectReturns: Boolean
_canBreath = isAbleToBreathe player;
Might return false if player enters a vehicle while underwater.