Events
biyei_radio:powerChangedclientFires when the radio is turned on or off.
| Param | Type | Description |
|---|---|---|
| on | boolean |
biyei_radio:frequencyChangedclientFires when the player joins or leaves a frequency.
| Param | Type | Description |
|---|---|---|
| freq | number|nil |
biyei_radio:transmittingclientFires when PTT is pressed or released.
| Param | Type | Description |
|---|---|---|
| talking | boolean |
Lua
AddEventHandler('biyei_radio:transmitting', function(talking)
-- e.g. show a "talking on radio" icon on the HUD
end)biyei_radio:membersChangedclientFires whenever the member list of the current frequency changes.
| Param | Type | Description |
|---|---|---|
| members | table |
biyei_radio:useItemclientTriggered from another resource (e.g. an inventory's item "event" option) to open the radio menu, as an alternative to the openRadio export.
