π§ΈAntiAims
Condition / Update
Name
Type
Description
-- Needs events.
MTools.AntiAims.Condition:Update();
-- Updates the user status.Condition / Get
Name
Type
Description
print(MTools.AntiAims.Condition:Get());
-- Returns the user's status. Without the passed argument it can return: S, W, SW, C, A, A+C, NE
print(MTools.AntiAims.Condition:Get({"S", "W", "C", "A", "AC"}));
-- Returns the user's status. Without the passed argument it can return: G, S, W, C, A, AC
-- If an argument is passed, a new 'G' - 'Global' is automatically added.
-- The letter 'G' will only be in case of a status that is not passed.
local Convert = {
["G"] = "Global",
["S"] = "Stand",
["W"] = "Walk",
["SW"] = "Slow Walk",
["C"] = "Crouch",
["A"] = "Air",
["AC"] = "Air Crouch",
["NE"] = "No Exploits",
};
print(Convert[MTools.AntiAims.Condition:Get()]);
-- Example of using the conversion table.Condition / GetDev
Name
Type
Description
Last updated