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

[CS][Forward] client_buy


Post New Thread Reply   
 
Thread Tools Display Modes
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-26-2011 , 08:10   Re: [CS][Forward] client_buy
Reply With Quote #31

Your includes are not up to date. It's already included in amxmodx.inc. (which makes sense since it's a functionality integrated into the amxx binary)
__________________

Last edited by Arkshine; 10-26-2011 at 08:13.
Arkshine is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 10-26-2011 , 08:25   Re: [CS][Forward] client_buy
Reply With Quote #32

That explains it then, thanks.
__________________
Bugsy is offline
dark_style
Senior Member
Join Date: Jul 2009
Location: Bulgaria
Old 10-27-2011 , 04:32   Re: [CS][Forward] client_buy
Reply With Quote #33

Thank you Connor for this.
dark_style is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 06-09-2012 , 07:08   Re: [CS][Forward] client_buy
Reply With Quote #34

Updated, in case no plugin use the forward, api is paused.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-06-2012 , 21:12   Re: [CS][Forward] client_buy
Reply With Quote #35

Updated to weapons that are team specific are not passed via the forward if player is not in the team and try to buy it with alias.
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 07-06-2012 at 21:12.
ConnorMcLeod is offline
kramesa
Veteran Member
Join Date: Feb 2011
Location: Brazil
Old 08-10-2012 , 11:59   Re: [CS][Forward] client_buy
Reply With Quote #36

Can you make a plugin that block all grenades with a cvar to disable and enable?

Thanks!
__________________
kramesa is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-10-2012 , 12:42   Re: [CS][Forward] client_buy
Reply With Quote #37

Restrict all nades :

amx_restrict2 "ejz"

Allow :

amx_restrict2 ""

Code:
e	-	CSW_HEGRENADE
j	-	CSW_SMOKEGRENADE
z	-	CSW_FLASHBANG
Spoiler
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
kramesa
Veteran Member
Join Date: Feb 2011
Location: Brazil
Old 08-11-2012 , 18:25   Re: [CS][Forward] client_buy
Reply With Quote #38

Quote:
Originally Posted by ConnorMcLeod View Post
Restrict all nades :

amx_restrict2 "ejz"

Allow :

amx_restrict2 ""

Code:
e	-	CSW_HEGRENADE
j	-	CSW_SMOKEGRENADE
z	-	CSW_FLASHBANG
Spoiler
Ok, thanks!

But I need use the client_buy.amxx and this? Or only this works?
__________________
kramesa is offline
Lolz0r
Veteran Member
Join Date: Nov 2010
Location: Balgaria
Old 08-11-2012 , 18:26   Re: [CS][Forward] client_buy
Reply With Quote #39

ConnorMcLeod,

Can I forbid the buying of the other weapons with this plugin or it is only for the nades ?
Lolz0r is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-11-2012 , 21:12   Re: [CS][Forward] client_buy
Reply With Quote #40

You can only go up to 'z' with that plugin (FLASHBANG) so you cant forbid following ones :

#define CSW_DEAGLE 26
#define CSW_SG552 27
#define CSW_AK47 28

__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 15:20.


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