Warning: file_put_contents(/ff_a47122bcd6eff77fb48217c269809df7c58312d90e8477c2.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
serverCommand - OFPEC Scripting Command Reference | OFPEC The Editing Center

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"

Advertisement