View Single Post
Author Message
.:D3O:.Shutter
Junior Member
Join Date: Dec 2007
Old 07-15-2012 , 15:36   [CS:S\CS:GO GG] GunGame Assist Points
Reply With Quote #1

GG:SM Assist


This mod was originally for GunGame Event Scripts. Ported to SourceMod. Complete re-write, In fact no source code was used from the original, or even looked at.

This is my first plugin for SourceMod. So please post comments about my code.

Assist points works like this:

You earn points from a percentage of damage dealt to other players.
You only earn these points if the player you damaged is not killed by you, for any other means of death points are rewarded.
You can redeem points for a level using !redeem "sm_redeem" and !respawn "sm_respawn" to respawn.
By default you can not redeem off of hegernade or knife, You may add additional weapons to the blacklist.
A message is sent on player death to every player that did damage to the dead player, This message tells you how many points you earned, who died, and how many you have.
Points only last per map round.

for those unfamiliar with assist points we have it running on: 173.208.180.152:27015

Plugin Dependencies: Gungame
Plugin Version: 2.0

Updates:

Version 2.0:
  • Added !assist command that give you points info
  • used MaxClients in my for loops
  • Made enableding and dissableing of !respawn instant
Attached Files
File Type: sp Get Plugin or Get Source (gungame_assist.sp - 306 views - 8.7 KB)
File Type: zip GG_Assist.zip (72.6 KB, 503 views)

Last edited by RedSword; 11-14-2013 at 02:58. Reason: Updated to version 2.0 ; fb given
.:D3O:.Shutter is offline