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

[CS:S] Admin Buy


Post New Thread Reply   
 
Thread Tools Display Modes
tkovacs314
Junior Member
Join Date: Sep 2010
Location: Tampa, FL
Old 09-21-2010 , 10:18   Re: [CS:S] Admin Buy
Reply With Quote #21

Quote:
Originally Posted by smithxxl View Post
I will look into it. The Fake Client command probably isn't working.
was wondering smithxxl if you figured this out yet or not, I also have this issue in my server, and if you have an m4 in your hand and purchase an ak, it drops the ak and keeps the m4....weird
tkovacs314 is offline
Send a message via AIM to tkovacs314
tkovacs314
Junior Member
Join Date: Sep 2010
Location: Tampa, FL
Old 10-16-2010 , 20:42   Re: [CS:S] Admin Buy
Reply With Quote #22

bump....

still wondering if you fixed this yet smithxxl, and also I cannot seem to get the flags to work right, I am trying to use the default, so in the config for adminbuy this is what it looks like:

Code:
// SourceMod Plugin AdminBuy Config
// more info, http://forums.alliedmods.net/showthread.php?p=811161
//
//
// Enables/Disabled the Admin Buy Command <0=Off | 1=On with cost | 2=On // Without Cost> (1=default)
sm_buy_enabled 1
// Message to reply when player isn't a subscriber/vip/admin. ("This Buy // feature is limited to server supportors only. Please visit website for // details."=default)
sm_buy_denymsg "This Buy feature is limited to Protection Plan members only. Please visit www.thecommissionclan.com for details."
// Admin Flag(s) to allow changing cash. o=CustomFlag_1 p=CustomFlag_2  // etc. (s=default)
sm_buy_adminflags “z”
help!!!!
tkovacs314 is offline
Send a message via AIM to tkovacs314
tkovacs314
Junior Member
Join Date: Sep 2010
Location: Tampa, FL
Old 10-22-2010 , 01:01   Re: [CS:S] Admin Buy
Reply With Quote #23

so like usual, I fixed it myself, the following is the Admin Buy, but I modified it so it will only display the guns normally not available (example when your T you have the CT weapons listed), I also took out all the extra guns, leaving it with only the ones most commonly used (and took the awp and 2 autos out for weapon restricted friendly use), and I changed it so by default the "s" flag will be used instead of root (but you still want to set the flag in the .cfg to s), but the bottom line IT WORKS! so enjoy!
Attached Files
File Type: sp Get Plugin or Get Source (adminbuy.sp - 383 views - 9.3 KB)
File Type: smx adminbuy.smx (7.6 KB, 163 views)
tkovacs314 is offline
Send a message via AIM to tkovacs314
bouncer
Veteran Member
Join Date: Apr 2009
Old 10-22-2010 , 16:36   Re: [CS:S] Admin Buy
Reply With Quote #24

Quote:
Originally Posted by tkovacs314 View Post
so like usual, I fixed it myself, the following is the Admin Buy, but I modified it so it will only display the guns normally not available (example when your T you have the CT weapons listed), I also took out all the extra guns, leaving it with only the ones most commonly used (and took the awp and 2 autos out for weapon restricted friendly use), and I changed it so by default the "s" flag will be used instead of root (but you still want to set the flag in the .cfg to s), but the bottom line IT WORKS! so enjoy!
Hey can you post the fixed version except with ALL weapons to show up in menu?
But make it so that when you type the command !buy it pops up a menu with 2 options CT and T and then you choose one to view the team's weapons?

Thanks.
__________________


bouncer is offline
tkovacs314
Junior Member
Join Date: Sep 2010
Location: Tampa, FL
Old 10-22-2010 , 17:02   Re: [CS:S] Admin Buy
Reply With Quote #25

I can try sure, but I am still learning :p
tkovacs314 is offline
Send a message via AIM to tkovacs314
bouncer
Veteran Member
Join Date: Apr 2009
Old 10-22-2010 , 17:25   Re: [CS:S] Admin Buy
Reply With Quote #26

k well could you also answer all the questions please?
__________________


bouncer is offline
DGKZ Target Practice
Junior Member
Join Date: Sep 2010
Location: CNY
Old 12-07-2010 , 03:21   Re: [CS:S] Admin Buy
Reply With Quote #27

Theres a menu?! LoL anywho

I have a pistol round, is there a way to restrict this for firstround?

Otherwise - great work been using flawlessly on my server for a long time and I have it working with admin groups so only certain tiers of admin are allowed to do this
__________________
DGKZ Target Practice is offline
Send a message via AIM to DGKZ Target Practice Send a message via Skype™ to DGKZ Target Practice
[UC]Darkwolf
Member
Join Date: Jul 2007
Old 08-27-2011 , 17:42   Re: [CS:S] Admin Buy
Reply With Quote #28

This script seems to crash my server when a person chooses a team and the round restart... Any fix? It's strange because if I move the .smx to the plugins dir and load it, it's fine... Until the server restarts...
[UC]Darkwolf is offline
stella
SourceMod Donor
Join Date: Apr 2011
Old 10-15-2011 , 05:28   Re: [CS:S] Admin Buy
Reply With Quote #29

Thinks its broken due to update, any fix?
stella is offline
tkovacs314
Junior Member
Join Date: Sep 2010
Location: Tampa, FL
Old 07-09-2013 , 00:29   Re: [CS:S] Admin Buy
Reply With Quote #30

its been a while but just an update, this still works fine
tkovacs314 is offline
Send a message via AIM to tkovacs314
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 19:58.


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