Raised This Month: $32 Target: $400
 8% 

[CS:S/CS:GO/DoD:S/TF2] Player Respawn


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
bobbobagan
SourceMod Donor
Join Date: May 2007
Location: New Zealand
Plugin ID:
1270
Plugin Version:
1.6
Plugin Category:
Admin Commands
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    68 
    Plugin Description:
    Respawn dead players back to their spawns
    Old 11-08-2009 , 11:11   [CS:S/CS:GO/DoD:S/TF2] Player Respawn
    Reply With Quote #1

    Player Respawn

    SUMMARY
    I couldn't find a decent respawn plugin with admin menu support, so I decided to write one myself.

    Requirements:
    - Requires SourceMod v1.1 or greater
    - Slay admin flag is required - F (or root - Z)

    Cvars:
    sm_respawn_version = 1.6 (can not be changed)
    sm_auto_respawn - Automatically respawn dead players (Default 0)
    sm_auto_respawn_time - Amount of seconds to delay the respawn by (Default 0 seconds)

    Cmds:
    sm_respawn <name | #userid> (also appears under player commands in the admin menu)

    Installation:
    - respawn.smx into /addons/sourcemod/plugins
    - respawn.phrases.txt into /addons/sourcemod/translations
    - plugin.respawn.txt into /addons/sourcemod/gamedata - Only required for DoD:S

    Changelog:
    1.0:
    - Initial release
    1.1:
    - Admin Menu only shows dead players to respawn
    - sm_respawn will only respawn dead players now
    - Fixed a few lines of text that weren't translatable
    1.2
    - Added support for TF2
    - Added support for DoD:S (Thanks Andersso and his DoD:S respawn timer plugin)
    - Added logging support
    1.3
    - Added support for CS:GO
    - Renamed plugin.instantrespawn.txt to plugin.respawn.txt (only required for DoD:S)
    1.4
    - Fixed plugin reporting that a client in spectate was respawned when using sm_respawn against that player
    - Added automatic respawning
    1.5
    - Fixed automatic respawning
    - Fixed not being able to use sm_respawn @all if a player was in spectate
    1.6
    - Fixed respawning when DeadRinger was activated in TF2
    - Added sv_tags support

    Known issues:
    - You can respawn spectators using the menu, as SourceMod thinks they are dead. I am not actually sure how to fix this, if you know how feel free to show me.

    To do:
    - Nothing! If you know the respawn function for your game, let me know and I will add support for it!

    Please provide extra translations if you can!

    PLEASE NOTE:
    This plugin may generate an error in your SM error logs. I am powerless to stop this, as it is due to the TF2 natives. It may only happen in non-TF2 games. If you do not want the error then comment out the part for TF2 and recompile the plugin, otherwise just live with it. It is not a damaging error and will not effect anything else, the plugin still functions normally.
    Attached Files
    File Type: txt respawn.phrases.txt (314 Bytes, 16026 views)
    File Type: txt plugin.respawn.txt (249 Bytes, 10342 views)
    File Type: sp Get Plugin or Get Source (respawn.sp - 16539 views - 10.1 KB)
    __________________

    Last edited by bobbobagan; 01-08-2015 at 02:36. Reason: Updated to v1.5
    bobbobagan is offline
    Send a message via Skype™ to bobbobagan
     



    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 22:54.


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