This is my first plugin
Description
Get more functions in TF2!
Included functions
*Respawn system
*Set respawn time for specified players
*Win panel for losing team
*Respawner
Cvars- sm_tf2_version - Plugin version
- sm_tf2_respawn_enable - Enable or disable respawn system 1=On, 0=Off (Default "0")
- sm_tf2_respawn_tm_enable - Enable/disable team members respawn settings (Default "0")
- sm_tf2_respawn_time_blue - Respawn time for Blue team (Default "6.0")
- sm_tf2_respawn_time_red - Respawn time for Red team (Default "6.0")
- sm_tf2_winp_enable - Enable/disable win panel for losing team (Default "0")
- sm_tf2_rper_enable - Enable/Disable Respawn Player Plugin (Default "0")
- sm_tf2_rper_chat_notify - Respawn Player Chat Notifications (Default "1")
- sm_tf2_rper_autorp_chat_notify - Auto Respawn Player Chat Notifications (Default "1")
- sm_tf2_rper_log - Enable/Disable Respawn Player Actions Logging
All functions are disabled by default. Don't forget to enable them .
Admin Commands- sm_tf2_rper_rp <#userid | name> - Respawn the player [Needed flags: Kick]
- sm_tf2_rper_autorespawn <#userid | name> <delay> - Auto respawn the player after died at the appointed time [Needed flags: Kick]
- sm_tf2_rper_rme - Respawn yourself [Needed flags: Kick]
How to Install- Copy TF2_extended_sys.smx to "addons\sourcemod\plugins"
- Copy teammembers.txt to "addons\sourcemod\configs"
- Copy TF2_extended_sys.phrases.txt to "addons\sourcemod\translations"
- Copy plugin.TF2_extended_sys.cfg to "cfg\sourcemod"
How to Configure- Open up the plugin.TF2_extended_sys.cfg file and change cvars if you need.
- Open up the teammembers.txt file to configure the team members.
Code:
// TF2 Extended System Team Members List
"TeamMembers"
{
//Set your team name here
"TeamTag" "TF2@CN"
//List
"TF2@CN^PuNDiT" //Player name
{
"level" "Leader" //Level(would be shown in the HUD)
"time" "1.5" //Respawn time
}
//Add more team members here...
//
//
}
Languages- English
- Simplified Chinese
- Russian (Incomplete)
- Polish (Incomplete)
You could add more ~
To Do- Add more functions
- Add more languages
- And so on...
Changelog
-1.0.0
Thanks for