Understanding the `disableRadio` bitwise state
mainThe disableRadio state bag returns an integer used as a bitwise value. Do not use it as a boolean.
To check if a radio is disabled for a specific reason, use bitwise operations against these values:
enum DisabledRadioStates {
Enabled = 0,
IsDead = 1,
IsCuffed = 2,
IsPdCuffed = 4,
IsUnderWater = 8,
DoesntHaveItem = 16,
PlayerDisabledRadio = 32,
}