serverCommandAvailable
Revision as of 20:28, 18 April 2017 by Killzone Kid (talk | contribs) (full list of all commands and availability)
Click on the images for descriptions
Introduced in
- Game:
- Arma 2
- Version:
- 1.05
Description
- Description:
- Returns true if the serverCommand is available on current machine, false if not. Here is the general table of availability of 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
To check if server command could be executed in current environment use serverCommandExecutable#captureframe, #enabletest, #disabletest
Syntax
Examples
- Example 1:
_can = serverCommandAvailable "#kick";
- Example 2:
if (serverCommandAvailable "#logout") then { hint "You are an admin"; };
Additional Information
- Multiplayer:
- -
- See also:
- serverCommandserverCommandExecutableadminMultiplayer Server Commands
Notes
Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To
Add New Note | How To