isDedicated: Difference between revisions
Jump to navigation
Jump to search
SilentSpike (talk | contribs) m (Moved my note to the description.) |
Killzone Kid (talk | contribs) (corrected broken example) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Return true if the machine (executing the command) is a dedicated server. | | Return [[true]] if the machine (executing the command) is a dedicated multiplayer server. In single player returns [[false]]. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 21: | Line 21: | ||
|x1= <code>[[if]] ([[isDedicated]]) [[then]] {[[ | |x1= <code>[[if]] ([[isDedicated]]) [[then]] {[[diag_log]] "Dedicated Server on the run !";};</code>|= EXAMPLE1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ |
Revision as of 00:50, 29 November 2014
Description
- Description:
- Return true if the machine (executing the command) is a dedicated multiplayer server. In single player returns false.
- Groups:
- Uncategorised
Syntax
- Syntax:
- isDedicated
- Return Value:
- Boolean
Examples
- Example 1:
if (isDedicated) then {diag_log "Dedicated Server on the run !";};
Additional Information
- See also:
- isServerhasInterface
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