Raised This Month: $ Target: $400
 0% 

Disable Grenade (HE/Flash/Smoke) Use (not Buy) in certain maps


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
briancmccoy
Junior Member
Join Date: Apr 2013
Old 06-02-2013 , 13:06   Re: Disable Grenade Use (HE/Flash/Smoke) in certain maps
Reply With Quote #1

Quote:
Originally Posted by ConnorMcLeod View Post
You can :

- Open restmenu.sma
- Uncomment line 36 so it looks like this :
PHP Code:
// Uncomment if you want to have seperate settings for each map
#define MAPSETTINGS 
- Recompile plugin
- Upload it on server's ftp + change map.

Now you can save restriction according to current map.

If you want to set a permanent restriction, use amx_restrict command in amxx.cfg (and/or in maps prefix cfg files).




You can also :

Don't edit restmenu.sma
Put in specific map cfg files amxmodx/configs/maps/de_dust2.cfg for example :

amx_restrict "flash sgren hegren"
Thanks for your reply Connor, actually I failed to mention that the server is using jCTF plugin which has a custom buy menu and hence the restrict weapons plugin of amxmodx doesn't work with it.
briancmccoy is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 06-03-2013 , 01:05   Re: Disable Grenade (HE/Flash/Smoke) Use (not Buy) in certain maps
Reply With Quote #2

I love when people don't make a clear request and make me loose some time.
Good luck for your problem.
__________________
- 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 00:42.


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