Raised This Month: $51 Target: $400
 12% 

[TF2] Autorespawn for Admins


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Chefe
Senior Member
Join Date: Dec 2009
Location: Germany
Plugin ID:
1311
Plugin Version:
1.5.8
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    25 
    Plugin Description:
    Respawn(&Teleport?) Admins/Players in a varaible amount of time
    Old 12-04-2009 , 17:10   [TF2] Autorespawn for Admins
    Reply With Quote #1

    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!
    Attached Files
    File Type: sp Get Plugin or Get Source (autorespawn_for_admins.sp - 4161 views - 4.6 KB)

    Last edited by Chefe; 06-03-2013 at 10:58. Reason: New Plugin Version
    Chefe is offline
     



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 17:57.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode