Thread: Precaching
View Single Post
Re: Precaching
Old
  (#5)
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: Precaching - 30-06-2004

ServerActivate() is called after each map change and even at server start. It is called each time the server is about to accept connections again.

Use STRING (gpGlobals->mapname) to get the name of the map

then precache the models you want...



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