• File Based Storage not working?
    1 replies, posted
[ERROR] addons/serverstuff/lua/autorun/datafilecode.lua:12: attempt to index a nil value   1. LoadPlayerData - addons/serverstuff/lua/autorun/datafilecode.lua:12    2. unknown - addons/serverstuff/lua/autorun/datafilecode.lua:17 File Based Storage https://hastebin.com/manefemoso.rb It ran smoothly the first time but now throws errors even if I delete the data file and start server again. Is there perhaps a better example? I've looked at the code and it seems okay but no luck.
This tutorial is actually garbage and old. Use util.JSONToTable and util.TableToJSON
Sorry, you need to Log In to post a reply to this thread.