serverCommand: Difference between revisions
Jump to navigation
Jump to search
(mass edit: removing obsolete </dt> and </dd> tags) |
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
||
Line 37: | Line 37: | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | |||
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]] | [[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]] |
Revision as of 11:28, 2 November 2011
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
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];
- Posted on 9 June 2011
- Piotr
- serverCommand (probably) has been disabled in 1.59