use 'drop' command before?
----- Original Message -----
From: "Knifa" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Sunday, February 20, 2005 8:12 PM
Subject: Re: [hlcoders] Respawning all players
> Nevermind. Got it now.
> CBaseEntity *pEntity = NULL;
> while ((pEntity = gEntList.FindEntityByClassname( pEntity, "player"
> )) != NULL)
> {
> pEntity->Spawn();
> }
>
> Like that.
>
> How would I strip the weapons from the player?
>
> > HL2DM:
> >
> >> Which code are you working with? HL2MP blank, HL2DM, or a Server
Plugin?
> >>
> >> ----- Original Message -----
> >> From: "Knifa" <[EMAIL PROTECTED]>
> >> To: <[email protected]>
> >> 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 them, but I don't know.
> >>>
> >>> Thanks.
> >>>
> >>> -Knifa
> >>>
> >>> _______________________________________________
> >>> To unsubscribe, edit your list preferences, or view the list archives,
> >>>
> >>>
> >> please visit:
> >>
> >>
> >>> http://list.valvesoftware.com/mailman/listinfo/hlcoders
> >>>
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >> _______________________________________________
> >> To unsubscribe, edit your list preferences, or view the list
> >> archives, please visit:
> >> http://list.valvesoftware.com/mailman/listinfo/hlcoders
> >>
> >>
> >>
> >>
> >>
> >>
> >
> > --
> > Knifa
> > Domino Mod
> > http://knd.org.uk/dominomod/
> >
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the list archives,
> > please visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlcoders
> >
> >
> >
> >
>
> --
> Knifa
> Domino Mod
> http://knd.org.uk/dominomod/
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders