Ulysses
Home
Help
Ulysses
»
General
»
Developers Corner
»
NekoLibrary
« previous next »
Print
Pages: [
1
]
Go Down
Author
Topic: NekoLibrary (Read 4275 times)
0 Members and 1 Guest are viewing this topic.
Neku
Hero Member
Posts: 549
Karma: 27
NekoLibrary
«
on:
September 18, 2014, 09:02:05 pm »
Code: Lua
--[[
Function: NWStringTable
Runs util.AddNetworkString() on a table of strings.
Parameters:
tablet - The table to loop for caching network strings.
Returns:
none
Revisions:
v1 - Initial release
]]
function
NekoLib
.
NWStringTable
(
tablet
)
for
k
,
v
in
pairs
(
tablet
)
do
util
.
AddNetworkString
(
v
)
end
end
I'd say this is the most useful function within my mess of random functions.
You can see the rest and perhaps build upon it at:
https://github.com/NekuMitsurugi/NekoLib
Logged
Out of the Garry's Mod business.
Print
Pages: [
1
]
Go Up
« previous next »
Ulysses
»
General
»
Developers Corner
»
NekoLibrary