Lua Events/OnAdminMessage

From PZwiki



Event

OnAdminMessage

Description

Triggered when a chat message from the server admin is being sent.

Parameters

  • String The text of the message being received from the admin.
  • Integer The x coordinate where to display the message.
  • Integer The y coordinate where to display the message.
  • Integer The z coordinate where to display the message.

Examples

local function OnAdminMessage(text, x, y, z)
	-- Your code here
end

Events.OnAdminMessage.Add(OnAdminMessage)

See also