Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

Syntax

Code Block
themeRDark
languagejavascript
linenumberstrue
hackNetOff();
  // initialise players here
hackNetOn()

...

;

Parameters

No parameters.

Return values

Does not return anything.

Example

See Player Initialisation for more information.

Div
classnotice box ping

This function should only be used during Player Initialisation. The function is a temporary hack to enable player initialisation via the JS API.

Div
classbox
Availability
Status
colourYellow
title3.1 b1+

Requires:

  • Warzone 3.1 Beta 1 or above
Div
classbox
Contents

Jump to:

Table of Contents
maxLevel5

Div
classbox

See also

Related articles:

  • hackNetOff() – turn network transmissions off prior to performing player initialisation
  • Player Initialisation – detailed overview of player initialisation process
  • rules.js – the script where this function is usually used