serverCommand: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (categories)
(See also: +serverCommandAvailable, description)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Executes [[Armed Assault: Multiplayer Server Commands|an admin command]] on the server. If used in singleplayer or in multiplayer, but without required priviledges (player using the computer where it is executed it is not an admin) nothing happens.|= Description
| Executes [[Armed Assault: Multiplayer Server Commands|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]].  |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 17: Line 17:
____________________________________________________________________________________________
____________________________________________________________________________________________
|x1 = <code> '''serverCommand''' "#logout" </code>
|x1 = <code> '''serverCommand''' "#logout" </code>
| |= See also
| [[serverCommandAvailable]] |= See also


}}
}}

Revision as of 22:51, 7 November 2009

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

Bottom Section