因为作者迟迟没有合并我的请求,所以决定自己重新开个仓库
源文件:https://github.com/v1pix/lua-scripts
这个版本与原版相比,修正了重复渲染不会消失的bug
理论上所有作弊都可以通过改变API相关函数来使用
此lua以neverlose作为例子
适用于Neverlose 3.0版本,并准备上传
下面翻译是机翻,所以如果你想纠正我的问题,请提交合并请求,我会矫正后进行同意 如果你需要严格参考,请查看英文原文
THIN = 100
EXTRALIGHT = 200
LIGHT = 300
NORMAL = 400
MEDIUM = 500
SEMIBOLD = 600
BOLD = 700
EXTRABOLD = 800
HEAVY = 900
FONTFLAG_NONE = 0x000
FONTFLAG_ITALIC = 0x001
FONTFLAG_UNDERLINE = 0x002
FONTFLAG_STRIKEOUT = 0x004
FONTFLAG_SYMBOL = 0x008
FONTFLAG_ANTIALIAS = 0x010
FONTFLAG_GAUSSIANBLUR = 0x020
FONTFLAG_ROTARY = 0x040
FONTFLAG_DROPSHADOW = 0x080
FONTFLAG_ADDITIVE = 0x100
FONTFLAG_OUTLINE = 0x200
FONTFLAG_CUSTOM = 0x400
FONTFLAG_BITMAP = 0x800
windows_font_name - Windows font name, only supports .ttf.
tall - Font size.
weight - Font thickness/weight.
flags - Text flags, this can be a table, for example {0x001, 0x002}
Returns a special value that can be passed to draw_text, draw_localized_string, test_font and get_text_size
x - Screen coordinate
y - Screen coordinate
r - Red (0-255)
g - Green (0-255)
b - Blue (0-255)
a - Alpha (0-255)
font - Returned value of renderer.create_font
text - Text that will be drawn
text - #SFUI_ or other localized strings from csgo/resources/csgo_<language>.txt, that will be drawn
Returns the localized string
x - Screen coordinate
y - Screen coordinate
r - Red (0-255)
g - Green (0-255)
b - Blue (0-255)
a - Alpha (0-255)
font - Returned value of renderer.create_font
text - #SFUI_ or other localized strings from csgo/resources/csgo_<language>.txt, that will be drawn
x0 - Screen coordinate of point A
y0 - Screen coordinate of point A
x1 - Screen coordinate of point B
y1 - Screen coordinate of point B
r - Red (0-255)
g - Green (0-255)
b - Blue (0-255)
a - Alpha (0-255)
x - Screen coordinate
y - Screen coordinate
w - Width in pixels
h - Height in pixels
r - Red (0-255)
g - Green (0-255)
b - Blue (0-255)
a - Alpha (0-255)
x - Screen coordinate
y - Screen coordinate
w - Width in pixels
h - Height in pixels
r - Red (0-255)
g - Green (0-255)
b - Blue (0-255)
a - Alpha (0-255)
x - Screen coordinate
y - Screen coordinate
w - Width in pixels
h - Height in pixels
r0 - Filled Red (0-255)
g0 - Filled Green (0-255)
b0 - Filled Blue (0-255)
a0 - Filled Alpha (0-255)
r1 - Outline Red (0-255)
g1 - Outline Green (0-255)
b1 - Outline Blue (0-255)
a1 - Outline Alpha (0-255)
x - Screen coordinate
y - Screen coordinate
w - Width in pixels
h - Height in pixels
r0 - Red (0-255)
g0 - Green (0-255)
b0 - Blue (0-255)
a0 - Alpha (0-255)
r1 - Red (0-255)
g1 - Green (0-255)
b1 - Blue (0-255)
a1 - Alpha (0-255)
horizontal - Left to right. Pass true for horizontal gradient, or false for vertical
x - Screen coordinate
y - Screen coordinate
r - Red (0-255)
g - Green (0-255)
b - Blue (0-255)
a - Alpha (0-255)
radius - Radius of the circle in pixels.
segments - How many edges the circle should have
x - Screen coordinate
y - Screen coordinate
r - Red (0-255)
g - Green (0-255)
b - Blue (0-255)
a - Alpha (0-255)
font - Returned value of renderer.create_font
font - Returned value of renderer.create_font
text - Text that will be drawn
Returns current mosue coordinates x, y
x - Screen coordiantes
y - Screen coordiantes
unlock cursor
lock cursor