serverCommand command

Operand types

command: String

Type of returned value

Description

Executes an admin command on the server.
If used in singleplayer or in multiplayer, but without required privileges (player using the computer where command is executed is not an admin) nothing happens.
This can be detected beforehand using serverCommandAvailable.

Used In

Arma2

Example

serverCommand "#logout"
Search OFPEC COMREF