SetDeadSpectator: Difference between revisions
m
Removed the notice about player corpses not finishing their animation when the player becomes a spectator. This is no longer an issue in 3.1.
(Added a note about this bug: https://zandronum.com/tracker/view.php?id=2594#c17993) |
m (Removed the notice about player corpses not finishing their animation when the player becomes a spectator. This is no longer an issue in 3.1.) |
||
Line 3: | Line 3: | ||
==Usage== | ==Usage== | ||
Turns a player that is alive into a dead spectator or vice versa. This function will only effect Dead Spectators or players that are alive, not True Spectators. If sv_DeadPlayersCanKeepInventory is set, the Dead Spectator will be resurrected with the inventory he had before he died. | Turns a player that is alive into a dead spectator or vice versa. This function will only effect Dead Spectators or players that are alive, not True Spectators. If sv_DeadPlayersCanKeepInventory is set, the Dead Spectator will be resurrected with the inventory he had before he died. If sv_SameSpawnSpot is set, the dead spectator will be resurrected at his current location. | ||
==Parameters== | ==Parameters== |