Залив
This commit is contained in:
10
lua/autorun/mw_assets/favorites.lua
Normal file
10
lua/autorun/mw_assets/favorites.lua
Normal file
@@ -0,0 +1,10 @@
|
||||
AddCSLuaFile()
|
||||
|
||||
if (CLIENT) then
|
||||
MW_FAVORITES = {}
|
||||
|
||||
--load favs
|
||||
if (file.Exists("mwbase/favorites.json", "DATA")) then
|
||||
MW_FAVORITES = util.JSONToTable(file.Read("mwbase/favorites.json", "DATA"))
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user