Make a Particle Burst When a Player Joins (Like Q1/Q2)
HalfLife's Code is BLUE
Mazor's Code is RED
Mazor's Commentary is GREY
multiplay_gamerules.cpp
Find this function:
void CHalfLifeMultiplay::PlayerSpawn( CBasePlayer *pPlayer)
At the very bottom of the function, before the last }, put in this:
MESSAGE_BEGIN( MSG_BROADCAST, SVC_TEMPENTITY );
WRITE_BYTE( TE_TELEPORT );
//This denotes which temporary intity we want to use
WRITE_COORD(pPlayer->pev->origin.x); // Location-X
WRITE_COORD(pPlayer->pev->origin.y); // Location-Y
WRITE_COORD(pPlayer->pev->origin.z); // Location-Z
MESSAGE_END();
There, now when a player spawns, you''ll see this white/grey particle burst around them.
Enjoy!