AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Sell Weapons (https://forums.alliedmods.net/showthread.php?t=54702)

Deviance 05-01-2007 22:13

Sell Weapons
 
7 Attachment(s)
Sell Weapons

By Deviance - www.the-place.co.nr
.:About:.
Ever wanted to sell that Deagle you never use?
Tired of never having cash when you need it?


Well, then Sell Weapons is something for you :)
When you sell a weapon, you get back the cost of the weapon divided with SW_divide.
At the moment you can only sell primary and secondary weapons, nade support will be added.

.:Cvars:.
SW_enabled (D: 1) - Enables/Disables the plugin
SW_buyzone (D: 0) - If nonzero, the players need to be in a buyzone to sell weapons
SW_annonce (D: 120) - Time before it prints an annonce message, set to 0 to disable
SW_divide (D: 2) - Do not set to 0. Sets how much of the money you'll get when you sell a weapon (1 for the whole sum, 2 for half the money, 3 for third of the money ect ect)

.:Commands:.
Say /sell - Sells the weapon your currently holding.

.:Screenshots:.
http://www.youtube.com/watch?v=hRtLxXQSsD8 (Low Quality)
http://img250.**************/my.php?image=sell1fz4.png

.:To-Do:.
  • Menu support [0% Done]
  • Nade support [0% Done]
  • Extra cash for ammo [0% Done]

.:F.A.Q:.
T.B.W

.:Version List:.
Quote:

  • 1.0 - Original Version.
  • 1.1 - Added SW_annonce and comments in code
  • 1.2 - Added SW_divide
  • 1.3 - Added so dead people can't sell weapons
  • 1.4 - Changed the way of removing weapons (Thanks VEN)

.:Credits:.
Bo0m! - Original idea and code suggestions.
VEN - Weapon removing code.

vvg125 05-01-2007 22:20

Re: Sell Weapons
 
You forgot to mention the command to sell weapons. :P

But awesome plugin. This would be awesome on my server.

Deviance 05-01-2007 22:20

Re: Sell Weapons
 
Quote:

Originally Posted by vvg125 (Post 472313)
You forgot to mention the command to sell weapons. :P

But awesome plugin. This would be awesome on my server.

Damn i'm tired. Updated
Thanks :)

datwinkle 05-01-2007 22:35

Re: Sell Weapons
 
Nice! +Karma!

AdogeN 05-02-2007 00:00

Re: Sell Weapons
 
sell weapons? wooooooooooo great !!!!!!!!!!!!!!!!!

Aviram1994 05-02-2007 00:09

Re: Sell Weapons
 
N1 Dude! Really good idea :P

ali_zkz 05-02-2007 08:32

Re: Sell Weapons
 
i remembered there,s a amx plugin like this
and that plugin has a nade bug
i dont know this if

Deviance 05-02-2007 08:38

Re: Sell Weapons
 
Quote:

Originally Posted by ali_zkz (Post 472429)
i remembered there,s a amx plugin like this
and that plugin has a nade bug
i dont know this if

I wrote this from scratch and tested before releasing, dont think so.
Edit: Going to upload a movie of it soon...

Alka 05-02-2007 08:58

Re: Sell Weapons
 
Nice Deviance...:wink: Gj! +K
**Now when i found weapons i sell them,and recive some cash! :P

Deviance 05-02-2007 09:15

Re: Sell Weapons
 
I've uploaded a pretty quick made movie to show how it works (Sorry for the quality but i lack in good codec's atm...)


All times are GMT -4. The time now is 01:05.

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