Lua Events/ReceiveFactionInvite

From PZwiki



Event

ReceiveFactionInvite

Description

Triggered when a player is invited to join a faction.

Parameters

  • String The name of the faction for which the player received an invitation.
  • String The name of the player who's been invited to join the faction.

Examples

local function ReceiveFactionInvite(factionName, playerName)
	-- Your code here
end

Events.ReceiveFactionInvite.Add(ReceiveFactionInvite)

See also