Difference between revisions of "serverCommandAvailable"
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) |
Killzone Kid (talk | contribs) m |
||
Line 21: | Line 21: | ||
* '''Available to logged in [[admin]] on certain game builds''' | * '''Available to logged in [[admin]] on certain game builds''' | ||
<blockquote><tt>#captureframe</tt>, <tt>#enabletest</tt>, <tt>#disabletest</tt></blockquote> | <blockquote><tt>#captureframe</tt>, <tt>#enabletest</tt>, <tt>#disabletest</tt></blockquote> | ||
− | To check if server command could be executed in current environment use [[serverCommandExecutable]] |= Description | + | To check if server command could be executed in current environment use [[serverCommandExecutable]]. For more information on what each server command does, see [[Multiplayer Server Commands]] |= Description |
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 20:38, 18 April 2017
Hover & click on the images for descriptions
Description
- Description:
-
Returns true if the serverCommand is available on current machine, false if not. Here is the general table of availability of Arma 3 server commands:
- Available to anyone
#login, #userlist, #beclient, #vote
#kick, #debug
#lock, #unlock, #maxping, #maxdesync, #maxpacketloss
- Available to any (voted in or logged in) admin
#logout, #restart, #mission, #missions, #reassign, #monitor, #init
- Available to logged in admin
#shutdown, #restartserver, #exec, #beserver, #monitords, #logentities, #exportjipqueue
- Available to logged in admin on certain game builds
#captureframe, #enabletest, #disabletest
To check if server command could be executed in current environment use serverCommandExecutable. For more information on what each server command does, see Multiplayer Server Commands
Syntax
Examples
- Example 1:
-
_can = serverCommandAvailable "#kick";
- Example 2:
-
if (serverCommandAvailable "#logout") then { hint "You are a some sort of admin"; };
Additional Information
- See also:
- serverCommandserverCommandExecutableadminMultiplayer Server Commands
- Groups:
- Uncategorised
Notes
Notes
Bottom Section
Categories:
- Pages using duplicate arguments in template calls
- Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: New Scripting Commands
- Command Group: Uncategorised
- Introduced with Arma 2 version 1.05
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- ArmA 2: New Scripting Commands List