serverCommandAvailable: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " +" to " ") |
Lou Montana (talk | contribs) m (Text replacement - " \| ?\[\[([a-zA-Z0-9]+)\]\] *\|x1=" to " |r1= $1 |x1=") |
||
Line 36: | Line 36: | ||
|p1= command: [[String]] | |p1= command: [[String]] | ||
| [[Boolean]] | |r1= [[Boolean]] | ||
|x1= <code>_can = [[serverCommandAvailable]] "#kick";</code> | |x1= <code>_can = [[serverCommandAvailable]] "#kick";</code> | ||
|x2= <code>[[if]] ([[serverCommandAvailable]] "#logout") [[then]] | |x2= <code>[[if]] ([[serverCommandAvailable]] "#logout") [[then]] |
Revision as of 10:28, 11 June 2021
Description
- Description:
- Description needed
- Groups:
- Multiplayer
Syntax
- Syntax:
- Syntax needed
- Parameters:
- command: String
- Return Value:
- Boolean
Examples
- Example 1:
_can = serverCommandAvailable "#kick";
- Example 2:
if (serverCommandAvailable "#logout") then { hint "You are a some sort of admin"; };
Additional Information
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