Should I have all of my functions in one file or should I split them into multiple functions.
Do what you feel like, but I split up my "big subjects" in diffrent files, as in, SQL stuff in one, Achievement stuff in one, HUD stuff in one, that way, I don't have to scroll through one huge file to find what I want.
It's up to you.
I split mine up according to what they do and what they are (server,shared,client).
So player meta stuff: sv_player.lua, sh_player.lua, cl_player.lua
Any entitity stuff: sv_entity.lua, etc.
Stuff like that, if you were making some kill hooks, sv_killhooks.lua.
Sorry, you need to Log In to post a reply to this thread.