Arma 3 Scripting

serverNamespace

  • Server only
  • Arma 3 v2.06

Command · also in Variables, Multiplayer · Markdown · JSON · original wiki page

Description

Returns server's namespace. This namespace is only available on the server for the server's uptime duration (same as uiNamespace).
All server event handlers, which are available in server config, use this namespace.

Syntax

serverNamespace

Returns: Namespace on the server, Nothing on clients or in single-player.

Examples

Example 1

if (isServer) then
{
    hint str allVariables serverNamespace;
}
else
{
    hint "you do not have permission!";
};

See also

missionNamespace · setVariable · getVariable · allVariables