Garry's Mod

Garry's Mod

评价数不足
Lyx : Lua Library (2.0)
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 服务器内容
插件标签: 快乐, 角色扮演, 写实
文件大小
发表于
更新日期
327.762 KB
2022 年 7 月 31 日 下午 5:26
2024 年 6 月 7 日 下午 5:42
25 项改动说明 ( 查看 )

订阅以下载
Lyx : Lua Library (2.0)

描述
Lyx Library

A full feature inclusive gmod lua library for creating content of all types. A GLUA developers biggest friend.


Feature Examples

Function
String
Table
lyx:ChatAddCommand()
test
{}

lyx:ChatAddCommand("test", { prefix = "!", func = function(ply, args) ply:ChatPrint("Hello " .. ply:Nick() .. "!") end }, false)

Creates a console command with the name "test" and prints
the callers nickname in chat.

4 条留言
GameKnighted 2024 年 8 月 21 日 下午 7:14 
The lerp function has been added into the game now and I believe that has broken the library.

[lib_lyx] addons/lib_lyx/lua/lyx_core/sh/sh_lyx_color.lua:137: attempt to index local 'to' (a number value)
1. Lerp - addons/lib_lyx/lua/lyx_core/sh/sh_lyx_color.lua:137
2. UpdateColours - lua/vgui/dlabel.lua:127
3. ApplySchemeSettings - lua/vgui/dlabel.lua:133
4. SetFont - lua/vgui/dlabel.lua:47
5. Init - lua/vgui/dlabel.lua:39
James  [作者] 2024 年 8 月 6 日 上午 7:50 
Whats broken exactly
DANNY 2024 年 7 月 31 日 上午 11:08 
Afraid to say this has been broken by the latest gmod update
Frederic 2022 年 8 月 1 日 上午 9:51 
Very Neat