SendRconCommand

From SA-MP Wiki

Jump to: navigation, search

SendRconCommand


This function sends a defined RCON command, which can be used to execute RCON commands without being logged in to RCON.


Parameters:
(command[])
command[]The RCON command to be executed
This function does not return a specific value, it's best to simply ignore it.


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

Related Functions

The following functions might be useful as well, as they're 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