-
Notifications
You must be signed in to change notification settings - Fork 271
Infinite Yield's Core Functions
Greenman edited this page Jan 19, 2020
·
1 revision
Infinite Yield's core functions can be used in your commands. Keep in mind that these are not all of the core functions and you can find more by looking inside Infinite Yield's source code. A lot of the core functions are documented in a section of this Wiki.
Example:
--Note: This is just a snippet
--Command: printname [plr]
["Function"] = function(args,speaker)
for k,v in pairs(getPlayer(args[1], speaker)) do
print(Players[v].Name)
end
end
In the above example, a function is used called getPlayers
which means you can use IY player arguments with it (example: using %team
).
Infinite Yield
Plugins
Core Functions