Re: draw beam -
03-01-2005
In your server plugin, use LevelInit() and LevelShutdown() to set a global flag that indicates whether a map is running or not.
If the map hasn't been initialized yet, you can skip over everything you added in the GameFrame() function.
P.S. Note that in Half-Life2, plugins get loaded by the engine BEFORE the game actually starts running. You r plugin will be running while the Half-Life2 main menu is displayed (since the menu actually loads a small map as the "background" image).
botman
|