Monthly Target: $400 Donations: $126
 31% 

Sell!


Post New Thread Reply   
 
Thread Tools Display Modes
Author
dalto
Veteran Member
Join Date: Jul 2007
Plugin ID:
144
Plugin Version:
1.1
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    4 
    Plugin Description:
    The Sell! plugin allows players to sell back their equipment while within their buy zone.
    Old 08-19-2007 , 03:13   Sell!
    Reply With Quote #1

    Sell!

    Current Version: 1.1

    Description:
    The Sell! plugin allows players to sell back their equipment while within their buy zone. The command !sell can be used to sell back your equipment and buy new(or not).

    Command list
    !sell pri: Sells your primary weapon
    !sell sec: Sells you pistol
    !sell cur: Sells your currently equipped weapon
    !sell gre: Sells a grenade
    !sell all: Sells everything that can be sold
    !sell menu: Opens a menu listing what you can sell
    !sell <weapon_name>: Sells the weapon by the name weapon_name

    Planned Features:
    • None, make a request!
    CVar's:
    sm_sell_version: The version number

    Changelog:

    1.0: Added grenade, menu and all
    0.95: Added sell cur, sell <weapon_name>
    0.9: Initial Release
    Attached Files
    File Type: zip sell1.1.zip (9.8 KB, 1405 views)
    File Type: sp Get Plugin or Get Source (sell.sp - 1774 views - 9.1 KB)

    Last edited by dalto; 08-23-2007 at 11:23. Reason: New Release
    dalto is offline
    Spacey
    Member
    Join Date: Aug 2007
    Location: Out'a'Space :D
    Old 08-19-2007 , 05:22   Re: Sell!
    Reply With Quote #2

    Wow, really cool! Thanks a lot!
    __________________
    Have fun - Spacey
    Visit our Server: [=TLC=] Kuschelhöhle! TF2!
    HLStatsX • Old School Fun! • Redirected DLs • Sexy Female Announcer ;)
    Spacey is offline
    dalto
    Veteran Member
    Join Date: Jul 2007
    Old 08-19-2007 , 12:43   Re: Sell!
    Reply With Quote #3

    Updated to include the config file.

    Also, I forgot to mention the config file in my orginal post. All the weapon prices can be configured through the config file.

    Enjoy!
    dalto is offline
    Peoples Army
    SourceMod Donor
    Join Date: Mar 2007
    Old 08-19-2007 , 13:06   Re: Sell!
    Reply With Quote #4

    nice dalto .
    Peoples Army is offline
    Spacey
    Member
    Join Date: Aug 2007
    Location: Out'a'Space :D
    Old 08-19-2007 , 13:34   Re: Sell!
    Reply With Quote #5

    O.K.... working now - Cheers!

    Two things:

    1) I can bind it to a key using this:

    F12 "say !sell pri; say !sell sec"

    But that way it's broadcasted. Any chance / way to make it a "silent bind"?

    2) Possible to have another bind/command which sells the weapon *actually* holding? Not "first" or "second" just the current one?

    Then it'd be 101% perfect

    Really thanks a lot for your efford, cool work!

    BTW: Today 8pm funny public gaming on our server ;)
    __________________
    Have fun - Spacey
    Visit our Server: [=TLC=] Kuschelhöhle! TF2!
    HLStatsX • Old School Fun! • Redirected DLs • Sexy Female Announcer ;)
    Spacey is offline
    dalto
    Veteran Member
    Join Date: Jul 2007
    Old 08-19-2007 , 13:38   Re: Sell!
    Reply With Quote #6

    Quote:
    Originally Posted by Spacey View Post
    O.K.... working now - Cheers!

    Two things:

    1) I can bind it to a key using this:

    F12 "say !sell pri; say !sell sec"

    But that way it's broadcasted. Any chance / way to make it a "silent bind"?
    Two things you can do. All sourcemod commands have a / version which is silent.

    bind f12 "say /sell pri"

    You can also bind the console command directly.

    bind f12 "sm_sell pri"

    Quote:
    Originally Posted by Spacey View Post
    2) Possible to have another bind/command which sells the weapon *actually* holding? Not "first" or "second" just the current one?

    Then it'd be 101% perfect
    Can do.
    dalto is offline
    Spacey
    Member
    Join Date: Aug 2007
    Location: Out'a'Space :D
    Old 08-19-2007 , 17:53   Re: Sell!
    Reply With Quote #7

    It's working well so far! I did the bindung with "sm_sell pri; sm_sell sec" - the only small annoyance is while doing it that way: It spam's a bit with "There is nothing to sell" (or smth. like this). about 5-6-7 times in the txt log once the key is pressed

    Cool besides this!! It gives the gameplay a new aspect imho! You can snipe for example and then - if necessary "switch" (sell) to another weapon... or even just do some bazzar to get few extra bucks
    __________________
    Have fun - Spacey
    Visit our Server: [=TLC=] Kuschelhöhle! TF2!
    HLStatsX • Old School Fun! • Redirected DLs • Sexy Female Announcer ;)
    Spacey is offline
    dalto
    Veteran Member
    Join Date: Jul 2007
    Old 08-19-2007 , 18:13   Re: Sell!
    Reply With Quote #8

    Quote:
    Originally Posted by Spacey View Post
    It's working well so far! I did the bindung with "sm_sell pri; sm_sell sec" - the only small annoyance is while doing it that way: It spam's a bit with "There is nothing to sell" (or smth. like this). about 5-6-7 times in the txt log once the key is pressed
    Hmm...it should only say that once for everytime you try to sell a weapon you don't have.
    dalto is offline
    dalto
    Veteran Member
    Join Date: Jul 2007
    Old 08-19-2007 , 21:32   Re: Sell!
    Reply With Quote #9

    New Release: Version .95

    Changes:
    Added the ability to sell the current weapon
    Added the ability to sell by name
    dalto is offline
    dalto
    Veteran Member
    Join Date: Jul 2007
    Old 08-20-2007 , 01:54   Re: Sell!
    Reply With Quote #10

    New Release: Version 1.0

    Changes:
    Added a new command !sell all
    Added full support for the selling of grenades
    Added a new command !sell menu
    dalto is offline
    Reply


    Thread Tools
    Display Modes

    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 02:16.


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