Raised This Month: $ Target: $400
 0% 

Is possible to forbid to buy the weapon from the console?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-29-2010 , 11:12   Re: Is possible to forbid to buy the weapon from the console?
Reply With Quote #1

Yes you can, when the command is fired, check player menuid pdata, if player is in buy menu, allow to buy the weapon.

List is there : http://forums.alliedmods.net/showthread.php?t=130708

Best would be to create a Trie, and set each weapon buy cmd to the corresponding menu index value.
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 07-30-2010 at 13:55.
ConnorMcLeod is offline
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Berlin
Old 07-30-2010 , 12:15   Re: Is possible to forbid to buy the weapon from the console?
Reply With Quote #2

Quote:
Originally Posted by ConnorMcLeod View Post
meniid
I hate automatic correcteurs too.
Seta00 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 00:15.


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