Lua Events/OnCreateLivingCharacter

From PZwiki



Event

OnCreateLivingCharacter

Description

Triggered when either a player or survivor is being created.

Parameters

Examples

local function OnCreateLivingCharacter(playerOrSurvivor, survivorDesc)
	-- Your code here
end

Events.OnCreateLivingCharacter.Add(OnCreateLivingCharacter)

See also