serverNamespace: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Lou Montana (talk | contribs) m (Add details) |
||
Line 6: | Line 6: | ||
|branch= dev | |branch= dev | ||
|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. Server event handlers, which are available in server config, all use this namespace. | ||
Line 13: | Line 15: | ||
|s1= [[serverNamespace]] | |s1= [[serverNamespace]] | ||
|r1= [[Namespace]] | |r1= [[Namespace]] on the server, [[Nothing]] on clients or in singleplayer. | ||
|x1= <code>[[private]] _serverVars = [[allVariables]] [[serverNamespace]];</code> | |x1= <code>[[private]] _serverVars = [[allVariables]] [[serverNamespace]];</code> | ||
|seealso= | |seealso= [[missionNamespace]] [[setVariable]] [[getVariable]] [[allVariables]] | ||
}} | }} |
Revision as of 22:27, 12 August 2021
Description
- Description:
- Returns server's namespace. This namespace is only available on the server. 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 singleplayer.
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