Sets the radio's local ID. The active codeplug's subscriberPrefix is added on top, so the resulting Subscriber ID is subscriberPrefix + id.
Use this when your framework hands you a small per-user number (a character ID, a player slot, etc.) and you want the agency prefix applied automatically. To set a Subscriber ID without applying the prefix, use setFullID instead.
| Name | Type | Description |
|---|---|---|
id |
string | The local ID. Parsed as an integer. |
Lua
TriggerEvent("radioExternal:setID", tostring(localID))
C#
BaseScript.TriggerEvent("radioExternal:setID", localID.ToString());
SubscriberID = subscriberPrefix + id and refreshes the radio UI.