The Whole Half-Life
TWHL
Forums
Wiki
Vault
Competitions
Discord
More...
Journals
News
Polls
Members
Go
Go
Login
Email or Username
Password
Remember Me
Login
Forgot Your Password?
Register
The Whole Half-Life
Level design resources for GoldSource, Source, and beyond
Featured game:
Half-Life
by
Valve Software
Forums
Wiki
Vault
Competitions
Discord
Community
Journals
News
Polls
Members
Login/Register
Remember Me
Login
Forgot Your Password?
New user?
Create an account
Comments
surreal
Commented
7 months ago
2024-04-20 11:13:05 UTC
in
wiki page
:
Tutorial: Coding Fog
Comment #106145
This tutorial sends messages to the player on every spawn, which is probably not something we want in multiplayer.
Suggested change, in
CBasePlayer::Precache
function, add
m_bSendMessages
here:
if ( gInitHUD ) { m_fInitHUD = TRUE; m_bSendMessages = TRUE; }
Suggested change, in
CBasePlayer::Precache
function, addm_bSendMessages
here: