Garry's Mod
Μη επαρκής αριθμός βαθμολογιών
Lyx : Lua Library (2.0)
   
Βραβείο
Αγαπημένο
Αγαπημένο
Μη αγαπημένο
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Roleplay, Realism
Μέγεθος αρχείου
Αναρτήθηκε
Ενημερώθηκε
327.762 KB
31 Ιουλ 2022, 17:26
7 Ιουν, 17: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 21 Αυγ, 19: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  [Δημιουργός] 6 Αυγ, 7:50 
Whats broken exactly
DANNY 31 Ιουλ, 11:08 
Afraid to say this has been broken by the latest gmod update
[PS] Fred 1 Αυγ 2022, 9:51 
Very Neat