Calling all experienced modders. I have been trying to figure out how to hook Sector onPlayerEntered. I am looking to have it executed on the server.
I have been playing with it, but I haven't had any luck. I am new to LUA and have some cool mod ideas. I am mainly confused on where should I be defining the hook. I tried to place it in server.lua and several other spots.
Not looking for a 100% example, but some tips on where I should be putting the code and maybe file structure.
Thanks in advanced for any input.