Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Editing Tutorial (Coming soon)
- On the deck.lua file, located at /sys/bass/, you find the commands and similar configurations.
- 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.
- --]]
- ...
- --[[
- FX Tutorial
- 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).
- Note
- In case you don't know an FX is a plugin, an addon to the script
- To load an FX you simply need to place it (the lua file) on the /sys/lua/autorun folder
- Here's a quick and simple example:
- Lets say you have a music script which would play music when you execute the command !music ...
- --]]
- MyFX = {}
- MyFX.name = "Background Music"
- MyFX.author = "_Yank"
- MyFX.version = "2.8.41gold"
- MyFX.commands = {
- {"music", level = 0, func = "music.start", desc = "Play music"};
- }
- function music.start(id) ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement