SendRconCommand

From SA-MP Wiki

Jump to: navigation, search


Sends an RCON command.


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


ReturnsThis function doesn't return a specific value


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.

Personal tools
In other languages