View Single Post
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 07-03-2009 , 11:47   Re: [L4D] SM Respawn command plugin
Reply With Quote #14

No, because you can't z_spawn Survivors.

The two other options are using a Fake Client and DispatchSpawn(fakebot) - which is rather hard to code - or using sb_add instead of respawn. For both of these you'd need to remove the human player from the Survivor team, kick the Bot they left behind, then spawn, then move the human Player back. Respawn is so much simpler.


EDIT:

Also, you don't need to do this at all. You can just put sm_teleport right next to sm_respawn in admin menu, or put it into the code itself.

Last edited by AtomicStryker; 07-03-2009 at 11:50.
AtomicStryker is offline