Page 1 of 1

Weapon Broker

Posted: Mon Nov 22, 2021 2:14 pm
by greenie
Weapon Broker

Description
This plugin let's each player use the broker function (accessible by typing /broker in chat).
Broker is a system similar to auction, except it doesn't contain bids. It's very simple in this mod - players are given choice to sell any of the weapons they currently hold (except USP, glock, all grenades and of course Knife & C4) with the price they chose. Other players can then buy the weapons, which gives them the option to get the weapons at lower price than in the standard buy menu.

Cvars
broker_ammo < 1 | 0 > - if 1, players will also sell their BpAmmo and the weapon will save it's ClipAmmo. Default: 1

Changelog

1.1
Code optimization, reduced the amount of arrays to one
You now also sell your BpAmmo and the weapon has the clipammo you had before selling it
1.0
Initial release
Fixed a minor bug


Counter-Strike only

plugin
source