Minimum version: v4.13.0
This event was introduced in SCNP25 v4.13.0. Earlier versions will not fire it.
Fired by the radio when it powers up with a loaded codeplug. The single argument is the current Subscriber ID as a string. Use this to mirror the radio's identity into your own systems — populate dispatch consoles, register the player with a CAD, light up presence indicators, etc.
| Position | Type | Description |
|---|---|---|
| 1 | string | The current Subscriber ID, formatted as a decimal string. |
Lua
RegisterNetEvent("radioExternal:announceSubscriber")
AddEventHandler("radioExternal:announceSubscriber", function(subscriberID)
print("Radio is on the air as Subscriber ID: " .. subscriberID)
end)
C#
[EventHandler("radioExternal:announceSubscriber")]
private void OnAnnounceSubscriber(string subscriberID)
{
Debug.WriteLine($"Radio is on the air as Subscriber ID: {subscriberID}");
}