Parameters is a table with all you parameters. For example I want to queue an function that needs block coordinates:
BUT Because it uses tables to store all the parameters you have to put this code directly in your plugin. You can't use Inter-plugin communication to make the scheduler an 2th plugin.
Yes I think 20 * ticks is seconds.
-- The function that you want to queue. -- It simple prints all coordinates. function MyFunction(Params) -- Do something awesome with the coordinates. end -- Add the function in the queue BlockX = -50 BlockY = 128 BlockZ = 324 Add(MyFunction, {BlockX, BlockY, BlockZ}, 500) -- The function now gets called in 500 ticks.
BUT Because it uses tables to store all the parameters you have to put this code directly in your plugin. You can't use Inter-plugin communication to make the scheduler an 2th plugin.
Yes I think 20 * ticks is seconds.