AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Weapon Money Reward(Similar) (https://forums.alliedmods.net/showthread.php?t=3145)

kingpin 06-27-2004 18:05

Weapon Money Reward(Similar)
 
1 Attachment(s)
well since I forgot the name of the author on one of my ports, this one and the plugin was moved out of this section so I have to repost hopefully this time I can fucking get it right.

ported on request : http://130.215.31.29/forums/viewtopic.php?t=3445

This plugin rewards killer for each kill with money, different for each weapon. For headshot - +50% of weapon money kill, +$1000 when respawn and +10% from victim money for killer.

I will add 1.6 weapon support in a little while.

addons/amxmodx/configs/wp/weaponmoney.cfg

Code:

/*
*                AMXMODX script.
*        Weapon Money Reward v0.5
*                by Similar
*  This file is provided as is..
*    (no warranties)
*
* Thanks to Kobri for the great idea ! :)
*
*  *******************************************************************************

*        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.
*
*  *******************************************************************************
*        Version log
*        .2 :        Maintained by Similar
*
*        .3 :        Maintained by KingPin (for now)
*                Ported to AMXX
*
*        .4 :        Added 1.6 weapons
*       
*        .5 :        Made fully amxx compatible with get_basedir
*
*      .6 :    Made amxmodx .2 compatible with get_configsdir
*          changed directory to /addons/amxmodx/configs/wp/
*          made more room for longer directory names
*
*/

#include <amxmodx>
#include <amxmisc>
#include <cstrike>

Needs Cstrike module.

devicenull 06-27-2004 20:19

Use get_basedir instead of hardcoded paths

kingpin 06-27-2004 20:54

rgr that.

Deagle 06-27-2004 21:10

tested on cs 1.6 win standalone all weapons respond to cash pay
"succesfully"
tested version:
weaponmoney . 4 AMX

Regards Deag

kingpin 06-27-2004 21:11

thankyou deagle now will update with what dev said and the new steam version asap.

EDIT - Ok updated to comply with devs instructions and also with steam weapons.

Similar 07-03-2004 21:12

Thank you for the credits ! :)
respect :) !

jay7 11-07-2004 23:12

can someone port this to amxx .20? thanks.

rex 11-08-2004 05:47

Quote:

Originally Posted by jay7
can someone port this to amxx .20? thanks.

here you go mate, just have to change where it looks for the cfg file. :wink:
edit
see next post.
8)

kingpin 11-08-2004 11:31

New zip file uptop with changes in the first post also.

jay7 11-18-2004 15:04

plz upgrade for latest amxmodx


All times are GMT -4. The time now is 04:24.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.