SendRconCommand
From SA-MP Wiki
(Difference between revisions)
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.
(command[])
command[] | The RCON command to be executed. |
Return Values:
This function does not return any specific values.
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.
- IsPlayerAdmin: Checks if a player is logged into RCON.
Related Callbacks
The following callbacks might be useful, as they're related to this function in one way or another.
- OnRconCommand: Called when an RCON command is sent.
- OnRconLoginAttempt: Called when an attempt to login to RCON is made.