Thread: Rage Quit
View Single Post
Author Message
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 12-03-2009 , 22:50   Rage Quit
Reply With Quote #1

RageQuit
by bl4nk

About:
Plays a sound if a client leaves 'x' seconds after being killed, also leaving a message to the other players about their ragequit.

CVars:
sm_ragequit_max_delay "10.0" - Time in seconds a player has to leave in to be considered a ragequitter
sm_ragequit_sound "ragequit/ragequit.mp3" - Path to the sound file to play (relative to the "sound" folder)

Installation:
  1. Click the Get Plugin button below to download the compiled plugin file and place it in your ~/addons/sourcemod/plugins/ folder (alternatively click the Get Source button to download the source code and compile it yourself).
  2. Also download the ragequit.phrases.txt file and place that in your ~/addons/sourcemod/translations/ folder.
  3. Configure the CVars listed above (in server.cfg or any other executed config file).
  4. Type sm plugins refresh into your server console (or via rcon) to load the plugin (alternatively change the map or restart the server).

Notes:
This plugin is a port from the ES Rage Quit addon by ojii, requested by StrikerMan780 here.

Changelog:
  • 1.0.0
    • Initial release
  • 1.0.1
    • Fixed a bug where printing the message to all clients resulted in a VFormat error.
Attached Files
File Type: sp Get Plugin or Get Source (ragequit.sp - 4360 views - 2.0 KB)
File Type: txt ragequit.phrases.txt (426 Bytes, 2452 views)

Last edited by bl4nk; 12-15-2009 at 04:25.
bl4nk is offline