Re: [hlcoders] Respawning all players

2005-02-23 Thread Teddy
] Respawning all players I use this one for ( int i = 0 ; i = gpGlobals-maxClients ; i++ ) { CBasePlayer *player = (CBasePlayer *)UTIL_PlayerByIndex(i); if ( player ) { player-RemoveAllAmmo(); //Removes all ammo player-RemoveAllDecals();//Removes All decals from the player model

Re: [hlcoders] Respawning all players

2005-02-23 Thread Andre Bandarra
: [hlcoders] Respawning all players I use this one for ( int i = 0 ; i = gpGlobals-maxClients ; i++ ) { CBasePlayer *player = (CBasePlayer *)UTIL_PlayerByIndex(i); if ( player ) { player-RemoveAllAmmo(); //Removes all ammo player-RemoveAllDecals();//Removes All decals from

Re: [hlcoders] Respawning all players

2005-02-21 Thread Andre Bandarra
I use this one for ( int i = 0 ; i = gpGlobals-maxClients ; i++ ) { CBasePlayer *player = (CBasePlayer *)UTIL_PlayerByIndex(i); if ( player ) {

[hlcoders] Respawning all players

2005-02-20 Thread Knifa
Hi all. How would I go about respawning ALL of the players on a server? I'm thinking I'd need to loop through them, but I don't know. Thanks. -Knifa ___ To unsubscribe, edit your list preferences, or view the list archives, please visit:

Re: [hlcoders] Respawning all players

2005-02-20 Thread Daniel Jennings
Which code are you working with? HL2MP blank, HL2DM, or a Server Plugin? - Original Message - From: Knifa [EMAIL PROTECTED] To: hlcoders@list.valvesoftware.com Sent: Sunday, February 20, 2005 10:13 AM Subject: [hlcoders] Respawning all players Hi all. How would I go about respawning

Re: [hlcoders] Respawning all players

2005-02-20 Thread Knifa
HL2DM: Which code are you working with? HL2MP blank, HL2DM, or a Server Plugin? - Original Message - From: Knifa [EMAIL PROTECTED] To: hlcoders@list.valvesoftware.com Sent: Sunday, February 20, 2005 10:13 AM Subject: [hlcoders] Respawning all players Hi all. How would I go about

Re: [hlcoders] Respawning all players

2005-02-20 Thread Knifa
, or a Server Plugin? - Original Message - From: Knifa [EMAIL PROTECTED] To: hlcoders@list.valvesoftware.com Sent: Sunday, February 20, 2005 10:13 AM Subject: [hlcoders] Respawning all players Hi all. How would I go about respawning ALL of the players on a server? I'm thinking I'd need to loop through

Re: [hlcoders] Respawning all players

2005-02-20 Thread Lance Vorgin
static_castCBasePlayer*(pEntity)-RemoveAllItems(false); ? ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders