serverNamespace: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |game1= arma3 |version1= 2.06 |branch= dev " to " |game1= arma3 |version1= 2.06 ") |
Lou Montana (talk | contribs) (Add lifespan info) |
||
Line 6: | Line 6: | ||
|serverExec= server | |serverExec= server | ||
|descr= Returns server's [[Namespace|namespace]]. This namespace is only available on the server. Server event handlers, which are available in server config, all use this namespace. | |descr= Returns server's [[Namespace|namespace]]. This namespace is only available on the server for the server's uptime duration (same as [[uiNamespace]]). Server event handlers, which are available in server config, all use this namespace. | ||
|gr1= Variables | |gr1= Variables |
Revision as of 13:51, 23 February 2022
Description
- Description:
- Returns server's namespace. This namespace is only available on the server for the server's uptime duration (same as uiNamespace). Server event handlers, which are available in server config, all use this namespace.
- Groups:
- Variables
Syntax
- Syntax:
- serverNamespace
- Return Value:
- Namespace on the server, Nothing on clients or in single-player.
Examples
- Example 1:
private _serverVars = allVariables serverNamespace;
Additional Information
- See also:
- missionNamespace setVariable getVariable allVariables
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note