Lua Events/OnPreGameStart
Event
OBSOLETE
OnPreGameStart
Description
Triggered before Modding:Lua Events/GameStart.
Parameters
Examples
local function OnPreGameStart() -- Your code here end Events.OnPreGameStart.Add(OnPreGameStart)
New dark themes!
The wiki has recently changed to a dark theme by default.
Want to provide feedback or report an issue? Let us know on the discussion page or the pzwiki_editing Discord channel.
Prefer a light theme? Create an account or log in, then switch to old look.
We have also recently installed another third-party theme, Citizen, supporting both light and dark modes, make sure to check it out!
OBSOLETE
OnPreGameStart
Triggered before Modding:Lua Events/GameStart.
local function OnPreGameStart() -- Your code here end Events.OnPreGameStart.Add(OnPreGameStart)