Skip to content

Console Commands

toketwo edited this page Feb 9, 2024 · 1 revision

HomeConsole-Commands

  • Parameters: None.
  • Description:
    • Closes the console/program safely and softly.

  • Parameters: None.
  • Description:
    • Prints all commands to console.

  • Parameters:
    • scriptfile: The script's amx file without the .amx ending.
  • Description:
    • Loads a new script via console.

  • Parameters:
    • script_file[]: The script's amx file without the .amx ending.
    • public[]: The public function's name.
  • Description:
    • This calls a public function inside a script, no custom args supported for now.

  • Parameters:
    • scriptfile: The script's amx file without the .amx ending.
  • Description:
    • Unloads a new script via console.

  • Parameters:
    • scriptfile: The script's amx file without the .amx ending to reload.
  • Description:
    • Reloads script via console.

  • Parameters: None.
  • Description:
    • Reloads all scripts including the main.amx!

  • Parameters: None.
  • Description:
    • Prints all guilds to console including information about them.

  • Parameters:
    • userid: The user's discord 17-18 digit id!**
  • Description:
    • Ban the users from all interaction (internal) blocking him.
    • The users ID will be put inside the bans.txt in the DiscordAMX main directory.
    • Manually removing/adding users is possible.

  • Parameters:
    • userid: The user's discord 17-18 digit id!**
  • Description:
    • Allows all interaction for the user, removing him from the ban.txt list.