View Single Post
Author Message
Lindgren
Member
Join Date: Jul 2007
Location: Sweden
Old 07-06-2007 , 05:46   Losing Team Slayer (aka. Autoslay, Defuse or Die)
Reply With Quote #1

CVARS:
  • lts_minplayer
    • 1 - 32 = Number of connected players needed for plugin to start slaying.
    • Default: 3
  • lts_slaymsg
    • 0 = Off
    • 1 = Reason of slay is sent in chat to the slayed players.
    • Default: 1
  • lts_slay
    • 0 = No slay
    • 1 = Losing team get slayed
    • Default: 1
  • lts_enabled
    • 0 = Plugin Disabled
    • 1 = Plugin Enabled
    • Default: 1
  • lts_target_bombed
    • Default: "[LTS] Defuse the bomb or die trying!"
  • lts_target_saved
    • Default: "[LTS] Plant the bomb or die trying!"
  • lts_bomb_defused
    • Default: "[LTS] Protect the bomb at all times!"
  • lts_all_hostages_rescued
    • Default: "[LTS] Keep CT´s away from the hostages!"
  • lts_hostages_not_rescued
    • Default: "[LTS] Rescue the hostages or die trying!"
Changelog:
  • 1.3.0.0
    • Added a new version without the slay delay.
  • 1.2.0.5
    • Fixed small slaymsg bug.
  • 1.2.0.4
    • Fixed a small slaymsg bug.
    • Cleaned up the code.
  • 1.2.0.3
    • Added cvars for custom slay messages.
  • 1.1.3.1
    • Added cvar lts_slay.
    • Fixed lts_enabled bug.
    • Changed lts_slaymsg default to 1.
  • 1.1.2.1
    • Added tracking cvar.
    • Added cvar lts_enabled.
  • 1.1.0.1
    • Big rewrite, now act upon round_end reason instead of just grabbing losing team.
    • Added more reasons sent in chat at slay.
A big thanks to FlyingMongoose , Pimpinjuice & Bailopan for answering my questions. Also thanks to all people that posted plugins in the forum (too many to mention), they are great examples to learn from.
Attached Files
File Type: sp Get Plugin or Get Source (losingteamslay.sp - 5988 views - 5.8 KB)
File Type: sp Get Plugin or Get Source (losingteamslay-1.3.sp - 6611 views - 5.1 KB)

Last edited by Lindgren; 09-05-2007 at 12:48. Reason: Added to the cryptic name.
Lindgren is offline
Send a message via MSN to Lindgren