Client Exports

OpenRadioNUI

Opens radio NUI, as the keymapping

exports['ikerdrgz-radio']:OpenRadioNUI()

CloseRadioNUI

Closes radio NUI, param closes it on NUI or not

exports['ikerdrgz-radio']:CloseRadioNUI(true / false)

IsRadioShown

Returns if radio NUI is displaying or not

exports['ikerdrgz-radio']:IsRadioShown()

JoinChannel

Sets player channel to the specified channel, for example: 'COMMAND' (if exists in job)

exports['ikerdrgz-radio']:JoinChannel(channelName)

GoToLastFrequency

Sets player channel in last frequency visited

exports['ikerdrgz-radio']:GoToLastFrequency()

ToggleBusyState

Toggles player busy state

exports['ikerdrgz-radio']:ToggleBusyState()

SetBusyState

Sets player busy state to the param entered (boolean)

exports['ikerdrgz-radio']:SetBusyState(true / false)

LeaveCurrentChannel

If player is in a frequency, leaves it

exports['ikerdrgz-radio']:LeaveCurrentChannel()

IsRadioActive

If player is in a frequency, returns frequency channel, otherwise it returns false. Example: 501.1 OR false

exports['ikerdrgz-radio']:IsRadioActive()

IsBusy

If player is or not busy. Example: true OR false

exports['ikerdrgz-radio']:IsBusy()

GetCurrentChannelName

If player is in a frequency, returns frequency name, otherwise it returns false. Example: 10-MANDO-10 OR false

exports['ikerdrgz-radio']:GetCurrentChannelName()

GetCurrentPrefix

If player has prefix returns it, otherwise it returns false. Example: HSIU OR false

exports['ikerdrgz-radio']:GetCurrentPrefix()

Last updated