-
Notifications
You must be signed in to change notification settings - Fork 3
Key Values
lnx00 edited this page Mar 14, 2023
·
4 revisions
Easily serialize tables into KeyValue strings
-
.Serialize(name, data)
Serializes the givendata
table.
local kv = KeyValues.Serialize("VertexLitGeneric", {
["$basetexture"] = "vgui/white_additive"
["$selfillum"] = 1
})
will result in:
"VertexLitGeneric" {
"$basetexture" "vgui/white_additive"
"$selfillum" "1"
}