serverCommand: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(See also: +serverCommandAvailable, description)
No edit summary
Line 24: Line 24:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
serverCommand format["#kick %1",_name];
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 18:46, 3 January 2010

Hover & click on the images for description

Description

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.
Groups:
Uncategorised

Syntax

Syntax:
serverCommand command
Parameters:
command : String
Return Value:
Nothing

Examples

Example 1:
serverCommand "#logout"

Additional Information

See also:
serverCommandAvailable

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

Notes

serverCommand format["#kick %1",_name];

Bottom Section