Autorespawn for Admins
This plugin allow admins with the "t" flag or all players to respawn in variable amount of time. The plugin is in default disabled at roundend and in the sudden death round. You can choose between respawn only admins or all automatically. Since 1.5 it is possible to teleport the players back to there old position.
The Plugin autogenerate an config in cfg/sourcemod.
CVARs (defaults
bold)
sm_instant_enabled (0 |
1) (enable or disable the plugin)
sm_instant_time (>=
0.1) (set the respawn time for admins or players)
sm_instant_admins_only (0 |
1) (1 = respawn only admins automatically, 0 = respawn all automatically)
sm_instant_sudeath (0 |
1) (1 = don't respawn players in Sudden Death, 0 = respawn in Sudden Death)
sm_instant_re (0 |
1) (1 = don't respawn players on RoundEnd, 0 = respawn on Roundend)
sm_instant_teleport (
0 | 1) (1 = teleport players back to the old position, 0 = disable teleport to old position)
sm_instant_flag (
t) (Set the flag need by admins to use the instant respawn. Use flags like t or o and so on...)
sm_instant_version (shows the current plugin version)
Changelog
1.0
- initial release
1.1
- fixed the Spy-problem (thanks to
psychonic)
1.2
- fixed that the plugin is not disabled in the sudden death round
- add that instant respawn can only use if the admin has the "t" flag
1.3
- add the FCVAR_NOTIFY flag to all convar`s
- add CONVAR "sm_instant_version" that show the current plugin version
1.4
- add convar "sm_instant_admins_only" (for description look by ConVars)
1.4.1
- remove the NOTIFY flag from sm_instant_version
1.4.2
- add the NOTIFY flag to sm_instant_version and remove it from all other cvars (yes my mistake
)
1.4.3
- do little change on the version convar (for tracking)
1.5
- add ConVar
sm_instant_sudeath
- add ConVar
sm_instant_re
- add ConVar
sm_instant_teleport
- add teleport function
1.5.1
- add restoring of old angles on teleport after respawn
- fixed some descriptions
1.5.2
- fixed custom flag not working
1.5.3
- added flag set by convar (default flag is t)
1.5.4
- fixed sm_instant_version not shows the current plugin version
- fixed that ClientRespawn() is called when player is not ingame
- fixed that sm_instant_sudeath not worked correctly
1.5.5
- fixed sm_instant_re working wrong like the other carvar
1.5.6
- added respawntime tag to be conform with valves server rules
1.5.7
- added respawntime tag to be conform with valves server rules (again)
1.5.8
- fixed typo in tag(s)
Have FUN!