Lua Events/OnRadioInteraction

From PZwiki



Event

OBSOLETE
OnRadioInteraction

Description

Triggered when a radio is displaying a new line of text.

Parameters

  • IsoPlayer The player who's interacting with the radio.
  • String The line of text to be displayed by the radio.
  • HaloTextHelper.ColorRGB The color of the line of text to be displayed by the radio.
  • KahluaTable The interaction codes output of the radio.

Examples

local function OnRadioInteraction(player, line, color, codesOutput)
	-- Your code here
end

Events.OnRadioInteraction.Add(OnRadioInteraction)

See also