Re: What function runs when HL is shut down? -
27-10-2004
look at the structure which is transfered in the GetNewDllFunctions() (sorry but I have forgot its name).
also meta_unload() is only called when we use the metamod command to unload a plugin, it isn't called when game is shutting down.
[edit]
it is GameShutdown(). however the HPB bot doesn't hook it. you can look at the Metamod source code about GetNewDllFunctions().
you can also use the DllMain() function.
[/edit]
Last edited by Whistler; 27-10-2004 at 12:10..
|