Arma 3 Scripting

Command in Namespaces, Variables, Multiplayer

serverNamespace

Also available as Markdown and JSON, or read the 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