Example

F

Freecode

Guest
Would anyone we kind enough to write me an example code that will print a masage on a person screen when he joins a team or connects to the server. Either one.
 
Anyone? If you know a premade one you can post it here. Thats fine.
 
You wan't to use void UTIL_HudMessage( CBaseEntity *pEntity, const hudtextparms_t &textparms, const char *pMessage )

Player's join a team here - void CHalfLifeTeamplay::ChangePlayerTeam
void CHalfLifeTeamplay::InitHUD is a good place to do things when players connect.
 
Back
Top