isDedicated: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
m (see also) |
||
Line 21: | Line 21: | ||
|x1= <code>if (isDedicated) then {hint "Dedicated Server on the run !"}</code>|= EXAMPLE1 | |x1= <code>[[if]] ([[isDedicated]]) [[then]] {[[hint]] "Dedicated Server on the run !";};</code>|= EXAMPLE1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[isServer]] |= SEEALSO | | [[isServer]], [[hasInterface]] |= SEEALSO | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 10:33, 21 August 2014
Description
- Description:
- Return true if the machine (executing the command) is a dedicated server.
- Groups:
- Uncategorised
Syntax
- Syntax:
- isDedicated
- Return Value:
- Boolean
Examples
- Example 1:
if (isDedicated) then {hint "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