View Single Post
Plugin Info:     Modification:          Category:         
Nyuszy
Senior Member
Join Date: Apr 2009
Old 04-07-2010 , 17:19   Knife DeathMatch
Reply With Quote #1

Knife DeathMatch
v1.2

. : Description : .

This is a simple plugin that allow you to use only knife during play and when you will dead, it respawns you.


. : Cvars : .
amx_knifedm 1 | 0
turn on/off the plugin

amx_knifedm_hp
give X hp after every kill

amx_knifedm_hp_hs
give X hp after every headshot

amx_knifedm_gamename 1 | 0
turn on/off game description change (Knife DM)

. : Modules : .
Fun
Cstrike
Ham Sandwich
Engine
Fakemeta

. : Thanks : .

Thanks to k1ngston for the idea and the server to test the plugin.
Thanks to SilverTide for the knife-only code.
Thanks to NeuroToxin for Game Name Changer code.


. : ChangeLog : .
Code:
Version 1.1
- Replaced cs_user_spawn(id) with ExecuteHamB(Ham_CS_RoundRespawn, id)
- Added code to remove: bombtarget, hostage, vip
- Added Game Description changer

Version 1.2
- Removed all weapons from ground
If you have bugs with this plugin, please report me.


Oh, and sorry for my bad english...
Attached Files
File Type: sma Get Plugin or Get Source (knifedm.sma - 2284 views - 3.2 KB)

Last edited by Nyuszy; 04-10-2010 at 18:38. Reason: v1.2
Nyuszy is offline