20-10-2018, 10:37 AMImSimon Wrote: Hello, I think I have problems with setting up mysql, could you please help me? I installed tmysql and libmysql but it wont work.
L 10/20/2018 - 07:58:57: Lua Error:
[ERROR] gamemodes/santosrp/gamemode/init.lua:63: attempt to index field 'PlayerAnims' (a nil value)
1. unknown - gamemodes/santosrp/gamemode/init.lua:63
[ERROR] gamemodes/santosrp/gamemode/init.lua:63: attempt to index field 'PlayerAnims' (a nil value)
1. unknown - gamemodes/santosrp/gamemode/init.lua:63
L 10/20/2018 - 07:58:57: Lua Error:
[ERROR] gamemodes/santosrp/gamemode/init.lua:68: attempt to index field 'SQL' (a nil value)
1. unknown - gamemodes/santosrp/gamemode/init.lua:68
You may be doing it wrong or your sql information is incorrect in sv_config.lua
make sure:
- Your tmysql module corresponds with your operating system i.e linux or windows
- You have all the correct information in sv_config.lua
- Your database allows external connections