SendRconCommand

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 08:30, 20 March 2013
Smithy (Talk | contribs)
(+NL)
← Previous diff
Revision as of 04:44, 5 February 2014
Connor Mead (Talk | contribs)

Next diff →
Line 1: Line 1:
{{Scripting}} {{Scripting}}
-{{Title}} 
{{Description|Sends an RCON command.}} {{Description|Sends an RCON command.}}
Line 28: Line 27:
[[de:SendRconCommand]] [[de:SendRconCommand]]
 +[[fr:SendRconCommand]]
[[nl:SendRconCommand]] [[nl:SendRconCommand]]

Revision as of 04:44, 5 February 2014



Description:

Sends an RCON command.


Parameters:
(command[])
command[]The RCON command to be executed.


Return Values:

This function does not return any specific values.


Image:32px-Ambox_warning_orange.png

Note

Does not support login, due to the lack of a 'playerid' parameter.
Image:32px-Ambox_warning_orange.png

Note

'password 0' will remove the server's password (if one is set).


SendRconCommand("gmx");
// This is a scripted version of typing "/rcon gmx" in-game.
// GMX restarts the game mode.

Related Functions

The following functions may be useful, as they are related to this function in one way or another.


Related Callbacks

The following callbacks might be useful, as they're related to this function in one way or another.

In other languages