setCodeplug sets codeplug for the player. It is effectively the same as the /setRadioAgency
command, programmatically.
[EventHandler("radioExternal:setCodeplug")]
private void setAgency(string agencyID)
string agencyID
.rdcp
extensionThis is an example of the setCodeplug event in a Lua script
TriggerEvent("radioExternal:setCodeplug","lspd")
This is an example of the setCodeplug event in a C# script
API.TriggerEvent("radioExternal:setCodeplug","lspd");