View Single Post
Re: What function runs when HL is shut down?
Old
  (#2)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: What function runs when HL is shut down? - 27-10-2004

Best guess would be ServerDeactivate(), however ServerDeactivate is also called on map change -- since a map change is in fact a server shutdown followed by a server restart. It depends on what you want to do.

Else if you use metamod, you might have better chances with meta_unload()...



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote