🍪Client
GetPing
MTools.Client.GetPing();
-
-
-
Allows you to get your Ping. Example usage:
print(MTools.Client.GetPing());
-- Returns your Ping.
GetFPS
MTools.Client.GetFPS(normalize);
normalize
boolean
Automatic value balancing. [Can have a bad effect on FPS]
Allows you to get your FPS. Example usage:
print(MTools.Client.GetFPS());
-- Each call will return a closer value.
print(MTools.Client.GetFPS(true));
-- It will bring back the real meaning right away.
GetDAT
MTools.Client.GetDAT();
-
-
-
Allows you to get your Time and Date. What this function returns:
seconds
Seconds in 00 format.
minutes
Minutes in 00 format.
hours
The clock is in 00 format.
day
Day in the 00 format.
month
Month in 00 format.
year
The year is in 0000 format.
Example usage:
local DAT = MTools.Client.GetDAT();
print(
" " .. DAT.hours .. ":" .. DAT.minutes .. ":" .. DAT.seconds ..
" " .. DAT.day .. "." .. DAT.month .. "." .. DAT.year
);
-- Returns Hours, Minutes, Seconds, Day, Month, Year.
-- 00:00:00 00.00.0000
GetHZ
MTools.Client.GetHZ();
-
-
-
Allows you to get the refresh rate of the monitor. Example usage:
print(MTools.Client.GetHZ());
-- Returns the monitor's clock speed. In my case it is 60.
GetAvatar
MTools.Client.GetAvatar(size, link, texture);
size
number
Avatar size. Optional. 1 - Icon, 2 - Medium, 3 - Full.
link
boolean
Get link instead the texture.
texture
vector
The size of the returned texture. Default vector(16, 16).
Allows you to get the user's steem avatar. [WORKS IN THE MAIN MENU] Example usage:
local Gets = {
Link = MTools.Client.GetAvatar(2, true),
Texture = MTools.Client.GetAvatar(3, false, vector(128, 128))
};
print(Gets.Link);
-- Returns a link to the user's avatar.
events.render:set(function ()
render.texture(Gets.Texture, vector(500, 500), color(255, 255, 255, 255));
end);
-- Draws the user's avatar at 128x128 on 500x500 coordinates.
GetChokeTick
MTools.Client:GetChokeTick(number);
number
number
How many ticks maximum
Allows you to get normal ticks (can be used for the new jitter mode way). [DOES NOT WORK IN MAIN MENU] Example usage:
print(MTools.Client:GetChokeTick(5));
-- Sends tics.
Last updated