Advertisement
Guest User

[Yank] Bass Details

a guest
Feb 17th, 2015
369
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.17 KB | None | 0 0
  1. --[[
  2.     Editing Tutorial (Coming soon)
  3.         On the deck.lua file, located at /sys/bass/, you find the commands and similar configurations.
  4.         It is pretty much self explanatory so, I didn't wrote a tutorial for it yet. If you pretend to make a tutorial, feel free to contact me and I'll publish it on the file description.
  5. --]]
  6.  
  7. ...
  8.  
  9. --[[
  10.     FX Tutorial
  11.         To make your own FX, you need to first, have a root/main table for it. Then, you need to create a table inside it named ABOUT and it must contain the following values: name (the FX name), author (the author of the FX), version (the version, (must be a string)) and commands (the table with the commands setup).
  12.  
  13.     Note
  14.         In case you don't know an FX is a plugin, an addon to the script
  15.         To load an FX you simply need to place it (the lua file) on the /sys/lua/autorun folder
  16.  
  17.     Here's a quick and simple example:
  18.         Lets say you have a music script which would play music when you execute the command !music ...
  19. --]]
  20.  
  21. MyFX = {}
  22. MyFX.name = "Background Music"
  23. MyFX.author = "_Yank"
  24. MyFX.version = "2.8.41gold"
  25. MyFX.commands = {
  26.     {"music", level = 0, func = "music.start", desc = "Play music"};
  27. }
  28.  
  29. function music.start(id) ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement