Raised This Month: $ Target: $400
 0% 

[CS:S] Buy Command v2.0.3 (Updated: 12/6/11)


Post New Thread Reply   
 
Thread Tools Display Modes
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 01-25-2011 , 11:59   Re: [CS:S] Buy Command
Reply With Quote #11

Ehm, that would just be abusive within the scope of this plugin, so no... But that wouldn't be hard to do. Just check say and say_team for !buy c4, and if so, give them the c4.
__________________
thetwistedpanda is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 03-01-2011 , 00:35   Re: [CS:S] Buy Command
Reply With Quote #12

Version 1.9.0 Released
  • Removed unnecessary method of doing timers and replaced with a better, easier method.
  • Fixed an issue where console could access sm_tbuy and cause console spam.

A future update will add flag support which will allow you to restrict access to team weapons to players with a specific flag. It will also give you the ability to issue discounts to players with that specific flag.
__________________
thetwistedpanda is offline
krispx
Senior Member
Join Date: Jul 2010
Old 03-12-2011 , 02:53   Re: [CS:S] Buy Command
Reply With Quote #13

Hi, is possible to add specifik chat commands !m4 !m3 !scout !awp etc...
On eventscript site i seen http://addons.eventscripts.com/addons/view/weaponsay it used on surf/zm servers...

Thanks for help!
krispx is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 03-12-2011 , 10:42   Re: [CS:S] Buy Command
Reply With Quote #14

This script no longer features the ability to buy any weapon. In it's current state, it exists solely for purchasing weapons that belong to the opposing team; if you buy a weapon that belongs to your current team, it parses through the default buy command. Your request would best be suited for a separate plugin.
__________________
thetwistedpanda is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 11-17-2011 , 22:40   Re: [CS:S] Buy Command
Reply With Quote #15

Version 2.0.0 Released!
- Now requires SourceMod v1.4.0 or higher.
- Due to the natives released in the new SourceMod, this plugin has returned to its original state, with far more features. It provides the ability to purchase equipment regardless of restrictions the game places, if desired.
- The sm_tbuy command has been removed; the plugin now uses the client's console buy command as well as support for chat commands.
__________________

Last edited by thetwistedpanda; 11-17-2011 at 22:57.
thetwistedpanda is offline
a2vwvr6
Member
Join Date: Jul 2004
Old 11-26-2011 , 22:02   Re: [CS:S] Buy Command (v2.0.1)
Reply With Quote #16

Doesn't work in my server. I'm running the newest version of SM as well as the newest version of SDK Hooks and have full admin rights and using "!buy ak47" results in nothing, no console error msg's no server log errors, nada. Compiled the .sp using the correct .inc's and everything.

Here's my server mods list;
[01] SourceMod (1.4.0) by AlliedModders LLC
[02] CS:S Tools (1.4.0) by AlliedModders LLC
[03] SDK Tools (1.4.0) by AlliedModders LLC
[04] SDK Hooks (2.1.0) by Tsunami, psychonic


Here's my current list of custom plugins;
"Player Commands" (1.4.0) by AlliedModders LLC
"Basic Chat" (1.4.0) by AlliedModders LLC
"SM Bot Tools" (1.2) by AMP
"Reserved Slots" (1.4.0) by AlliedModders LLC
"KnifeMug" (2.0.0) by FlyingMongoose, sslice
"Basic Votes" (1.4.0) by AlliedModders LLC
"Client Preferences" (1.4.0) by AlliedModders LLC
"DeathMatch:SM Elimination" (1.6.1) by Otstrel.ru Team, TigerOx, TechKnow
"SM Super Commands" (0.60) by pRED*
"GunGame:SM" (1.1.9.1) by teame06-hat, Liam, Otstrel.ru Team

Lastly, here's the lines I added to my server.cfg file;
//Player Weapon Buy
//-------------------------
// Allows complete enable/disable of all features for the plugin.
//(0 = Disabled, 1 = Enabled)
css_buy_enabled 1
//
//If enabled, clients must be within a buyzone to
//purchase equipment, otherwise they can purchase
//from anywhere. (0 = Disabled, 1 = Enabled)
css_buy_buyzone 0
//
//If enabled, clients cannot access
//any purchase feature after mp_buytime expires, otherwise
//they can purchase at any time.
//(0 = Disabled, 1 = Enabled)
css_buy_buytime 1
//
//If enabled, a buy menu becomes available by
//using a chat trigger with no parameters for purchasing weapons
//in addition to the purchase commands. (0 = Disabled, 1 = Enabled)
css_buy_buymenu 1
//
//If enabled, clients will always be
//considered in a buyzone. Useful if you want clients to be
//able to access the buy menu at any time/place.
//(0 = Disabled, 1 = Enabled)
css_buy_always_buyzone 1
//
//The number of seconds after a player joins
//their first team to send the welcoming advert.
//(-1.0 = Disabled, 0.0 = Instant, #.# = Delay)
css_buy_welcome 10.0
//
//The chat triggers available to clients to
//purchase equipment. If css_buy_buymenu is enabled, the buy
//menu will open if no item is provided to purchase.
css_buy_commands 1
//
// Determines printing functionality
//(-1 = Disabled, 0 = Chat, 1 = Hint, 2 = Center, 3 = Key Hint)
css_buy_messages 2

Last edited by a2vwvr6; 11-26-2011 at 22:09.
a2vwvr6 is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 11-26-2011 , 22:06   Re: [CS:S] Buy Command (v2.0.1)
Reply With Quote #17

I have the plugin currently running on two of my servers without issue so I know for a fact that it functions (although I need to do an update to fix an error pretty soon). The plugin itself has nothing to do with admin so that shouldn't have any effect, but based on your issue I'm left to believe that it's not properly installed. Are you sure the plugin is running properly, and that all of the files are in their correct directories?
__________________
thetwistedpanda is offline
a2vwvr6
Member
Join Date: Jul 2004
Old 11-26-2011 , 22:30   Re: [CS:S] Buy Command (v2.0.1)
Reply With Quote #18

css_buy.smx is in the "sourcemod/plugins' folder
css_buy.phrases.txt is in the "sourcemod/translations" folder
css_buy.weapons.txt is in the "sourcemod/weapons" folder

The only thing that was odd was I didn't have an "addons/sourcemod/weapons" folder and had to create one to place the weapons.txt file into, other than that everything is in its proper spot. I have removed and re-installed everything twice now with a complete shutdown and reboot of the server after each attempt and it still won't load, doesn't show up in the servers list of loaded plugins either but its definitely there.

Last edited by a2vwvr6; 11-26-2011 at 23:47. Reason: saving space
a2vwvr6 is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 11-26-2011 , 22:33   Re: [CS:S] Buy Command (v2.0.1)
Reply With Quote #19

Lmfao. I should stop updating plugins when I'm drunk. Sorry, css_buy.weapons.txt goes in /sourcemod/configs/
__________________
thetwistedpanda is offline
a2vwvr6
Member
Join Date: Jul 2004
Old 11-26-2011 , 22:45   Re: [CS:S] Buy Command (v2.0.1)
Reply With Quote #20

ROFL! Been there before! Yep, that was it tho, works perfectly now! Thanks for your help!
a2vwvr6 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 22:03.


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