Terminal

Designed to mimic the look and feel of a traditional terminal, this app provides an intuitive and powerful tool for executing various commands.

Create a command
  • Go to av_laptop/client/editable/terminal.lua

  • First thing you are gonna notice is a table with commands as table index, add as many as you want, make sure every command is linked to an existing function.

  • For this example we are gonna create a new command named /fivem

  1. Add a new table index and name it /fivem

  2. As you can see, it has a function linked named fivem(), we need to add it in the same file:

  3. Restart av_laptop, open the Terminal APP and test your new command /fivem

  4. The terminal will read only the commands that matches from the commands table, if you try to use any other one it will show you a "Unknown command" text.

You can add as many commands as you want and use html or plain text as answer.

Last updated