BIS fnc getNetMode: Difference between revisions
Jump to navigation
Jump to search
m (1 revision imported: BIS Functions update 7/7) |
Lou Montana (talk | contribs) (Page filling - missing see also) |
||
Line 8: | Line 8: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Returns the current net mode as a string. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | call [[BIS_fnc_getNetMode]] |= Syntax | ||
| |= Return value | | [[String]] - can be one of: | ||
* "DedicatedServer" | |||
* "Server" | |||
* "HeadlessClient" | |||
* "Client" | |||
* "SinglePlayer" |= Return value | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code></code> |= | |x1= <code>_netMode = [[call]] [[BIS_fnc_getNetMode]];</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= See also | | |= See also | ||
}} | }} | ||
Revision as of 13:06, 22 April 2018
Description
- Description:
- Returns the current net mode as a string.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- call BIS_fnc_getNetMode
- Return Value:
- String - can be one of:
- "DedicatedServer"
- "Server"
- "HeadlessClient"
- "Client"
- "SinglePlayer"
Examples
- Example 1:
_netMode = call BIS_fnc_getNetMode;
Additional Information
- See also:
- See also needed
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