So for some reason my PlayerPostThink hook won't run even when I use hook.Call but as soon as I save the file it works again until the server is restarted.
shared.lua
https://pastebin.com/V0yqafnw
folder with all the config options
[Lua] AddCSLuaFile()
which stays named that
please detail the problem I cant get what thos files are. one of them is a shared file one of them is a swep. "as soon as I save the file it works again" means you override an existing thing, that means something defines that hook before you. it might be a workshop addon or something other.
Yes, this means that you override an existing hook. You can try to change the hook's name.
If this is still not working, i guess i could try the Think hook, unless you really need post thinking?
So what, I need to have all the hooks have a different name for each of the sweps (that use the same code - a few variable names)
wack that fixed it
Sorry, you need to Log In to post a reply to this thread.