View Full Version : Example
Freecode
22-09-2003, 03:04 AM
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.
Freecode
22-09-2003, 03:26 AM
Anyone? If you know a premade one you can post it here. Thats fine.
Fallout2man
22-09-2003, 09:23 AM
For what, half-life?
Freecode
22-09-2003, 11:21 PM
yes. But in C++
Onions
23-09-2003, 05:02 AM
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.
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.