foxtacles
12-29-2012, 05:38 PM
gary 2.6 has two important new callbacks:
OnServerInit
OnServerExit
They can be used to fill the game world with objects (items, containers, NPCs) and to save them upon server shutdown. OnServerInit gets called immediately after main / exec, and OnServerExit gets called if the server encounters an error or is being shutdown using the 'exit' command.
OnServerInit
OnServerExit
They can be used to fill the game world with objects (items, containers, NPCs) and to save them upon server shutdown. OnServerInit gets called immediately after main / exec, and OnServerExit gets called if the server encounters an error or is being shutdown using the 'exit' command.