SendRconCommand FR

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 13:13, 20 January 2014
Connor Mead (Talk | contribs)

← Previous diff
Revision as of 15:02, 21 January 2014
Connor Mead (Talk | contribs)

Next diff →
Line 19: Line 19:
{{RelatedFunctionsFR}} {{RelatedFunctionsFR}}
-*[[IsPlayerAdmin_FR|IsPlayerAdmin]]+{{IsPlayerAdmin_FR}}
{{RelatedCallbacksFunctionFR}} {{RelatedCallbacksFunctionFR}}
-*[[OnRconCommand_FR|OnRconCommand]]+{{OnRconCommand_FR}}
-*[[OnRconLoginAttempt_FR|OnRconLoginAttempt]]+{{OnRconLoginAttempt_FR}}
[[Category:Scripting Functions FR]] [[Category:Scripting Functions FR]]

Revision as of 15:02, 21 January 2014




Description:

Exécute une commande RCON (Administrateur).


Paramètres:
(command[])
command[]La commande RCON à exécuter.


RetourneCette fonction ne retourne pas de valeur spécifique.


Image:32px-Ambox_warning_orange.png

Note

Ne supporte pas login, du à une impossibilité de connaitre l'ID du joueur.
Image:32px-Ambox_warning_orange.png

Note

'password 0' supprimera le mot de passe du serveur (si il y en a un).


SendRconCommand("gmx");
// C'est une version scriptée de la commande /rcon gmx
// Redémarre le gamemode

Fonctions Relatives

Les fonctions suivantes peuvent être utiles car elles sont indirectement ou directement liées a cette fonction.


Callbacks Relatives

Les Callbacks suivantes peuvent être utiles car elles sont indirectement ou directement liées a cette fonction.

  • OnRconCommand: Appelée lorsqu'une commande RCON est exécutée.