Raised This Month: $51 Target: $400
 12% 

Weapon Broker


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay        Approver:   hornet (5)
Backstabnoob
Veteran Member
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 02-28-2013 , 06:58   Weapon Broker
Reply With Quote #1

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


Screenshots
- Thanks to BLacking98 for taking these.

1: http://s22.************/twqro9bdt/image.jpg
2: http://s18.************/5i08j05g9/image.jpg
3: http://s11.************/49z58efyb/image.jpg
4: http://s21.************/ftus2wqif/image.jpg
5: http://s21.************/duirp8lkn/image.jpg


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

Attached Files
File Type: sma Get Plugin or Get Source (broker.sma - 1493 views - 14.5 KB)
__________________
Currently busy working on a very large scale anime database project.

Last edited by Backstabnoob; 08-06-2013 at 13:23. Reason: used my old topic template
Backstabnoob is offline
roymor
Senior Member
Join Date: Apr 2012
Old 03-01-2013 , 07:33   Re: Weapon Broker
Reply With Quote #2

so its like a blackmarket in game or something like that ? XD
roymor is offline
jingojang
Senior Member
Join Date: Feb 2010
Location: The Moon
Old 03-01-2013 , 08:23   Re: Weapon Broker
Reply With Quote #3

This is actually a decent idea, I love the concept of it aswell. Auctions are fun and its easy to use. This could be used for weapon chance, you can sell your weapons you get by chance. Easy and fun.

+karma
jingojang is offline
Backstabnoob
Veteran Member
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 03-01-2013 , 08:48   Re: Weapon Broker
Reply With Quote #4

Quote:
Originally Posted by roymor View Post
so its like a blackmarket in game or something like that ? XD
Yeah, except players themselves sell the weapons. I might post some screenshots but I don't really feel like it now.
__________________
Currently busy working on a very large scale anime database project.
Backstabnoob is offline
jingojang
Senior Member
Join Date: Feb 2010
Location: The Moon
Old 03-01-2013 , 09:07   Re: Weapon Broker
Reply With Quote #5

You should make it so you can see how many bullets and clips you have when you sell it. So the people that will buy can see something like this: "AK47 B : 30 C : 3"(full ammo)

Last edited by jingojang; 03-01-2013 at 09:08.
jingojang is offline
Backstabnoob
Veteran Member
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 03-01-2013 , 09:21   Re: Weapon Broker
Reply With Quote #6

The ammo in the weapon is not included, you keep it on yourself. You only get the full clip, like when you buy a weapon from the standard buy menu.
__________________
Currently busy working on a very large scale anime database project.
Backstabnoob is offline
Unkolix
Veteran Member
Join Date: Sep 2012
Old 03-01-2013 , 10:27   Re: Weapon Broker
Reply With Quote #7

You should update it, to get that ammo too.
Unkolix is offline
Backstabnoob
Veteran Member
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 03-01-2013 , 12:58   Re: Weapon Broker
Reply With Quote #8

I'll think about it, but probably once a few more features are thought of.
__________________
Currently busy working on a very large scale anime database project.
Backstabnoob is offline
Erdener
Senior Member
Join Date: Apr 2010
Location: Turkey
Old 03-01-2013 , 16:04   Re: Weapon Broker
Reply With Quote #9

hmmm interesting idea GJ
Erdener is offline
jingojang
Senior Member
Join Date: Feb 2010
Location: The Moon
Old 03-01-2013 , 17:09   Re: Weapon Broker
Reply With Quote #10

Quote:
Originally Posted by Backstabnoob View Post
I'll think about it, but probably once a few more features are thought of.
If you wont do it can someone else make this function work to choose from in your plugin?
jingojang is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:35.


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