Code:
/* *******************************************************************************
Ported By KingPin( [email protected] ). I take no responsibility
for this file in any way. Use at your own risk. No warranties of any kind.
*******************************************************************************
This plugin lets you loot dead players for Money and weapons
Changelog:
V1.1 : Maintained by Rick O`Shae
V1.2 : Maintained by KingPin
Steam Weapons Added
V1.3 : Messages changed a bit
Health drain of 10 points if health is greater than 11 and they try to loot a teammate.
also radom amount of money taken away on that.
hud announcement given of how much money they lost for trying to loot teammate
V1.4
Loot help added just say /loot to get help.
added new code that informs user of what to say to get help with looting.
V1.5
You lose random money if you try to loot an already looted dead body.
/Loot changed to /loothelp to make a difference between the main cvar and this
V1.6
Now you also loose 10 health for every time you try to loot an already dead body.
Money lost for trying to loot teammates now goes to the team mate.
2 new items added to loot :
Long jump enabler module from Hlaf life
Health Kit from Half life.
V1.7
Made it prechache long jump and medkit since most clients dont have those
precached.
V1.8
well that settles it I need sleep... made it precache medkit sound.
V1.9 - 2.9
Private Betas with fantasy items, decided to
discontinue and return to original and release as 3.0
V3.0
[Addition] Scouts kit
[Addition] Acrobat kit
[Addition] Tank kit
[Addition] Advanced Snipers Kit
[Addition] Snipers Kit
[Addition] Stealth Kit
[Addiiton] Assault Kit
[Addition] Sack o' pistols
[Addition] Varoius other tweaks
[Fix] Fixed various names etc.
[update] Updated version so as to not conflict with auto lootmod.
[update] Loot.txt removed and put in a central location on the web
[update] updated text names
[Left out] humiliation (piss mod styled) for the looted) I think if you
want something like that then please use that mod.
****************************************************************************************
ToDO :
*****************
****************************************************************************************
Cvars :
say
/loothelp : Shows a help screen about Loot Mod")
Console
amx_loot 1|0
amx_lootteam 1|0
binds
loot : bind a key to loot in order to loot a corpse e.g. bind z loot type that in console
then hit z when near a moneybag sign to loot.
*************************************************************************************
#include <amxmodx>
#include <amxmisc>
#include <engine>
#include <fun>
#include <cstrike>
This plugin lets you loot dead players for Money and weapons equipment and now different kits which give you multiple weapons.
Install :
The sprite goes in :
Code:
sprites/loot_bag.spr
so just put it in your sprites folder.
Put the .amxx file in your
Code:
addons/amxmodx/plugins
folder then add the following to your addons/amxmodx/configs/plugins.ini on a line by itself
"
lootmod.amxx" (without qoutes)
Ported on request :
http://forums.alliedmods.net/showthread.php?t=3992