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

Restrict buying of Kevlar


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GlobalEliteTradeServers
Member
Join Date: Apr 2015
Old 05-25-2017 , 11:38   Restrict buying of Kevlar
Reply With Quote #1

I want to restrict users from buying Kevlar in my CSGO server. Is there a plugin or command to do that? Thank you
GlobalEliteTradeServers is offline
RC87
Member
Join Date: Apr 2017
Old 05-25-2017 , 14:11   Re: Restrict buying of Kevlar
Reply With Quote #2

I have no clue if there is a simple command to do it but you can use https://forums.alliedmods.net/showthread.php?t=105219 to do it if not.
RC87 is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 05-26-2017 , 20:09   Re: Restrict buying of Kevlar
Reply With Quote #3

It's pretty simple, I've attached a plugin that blocks purchasing all types of kevlar.

Thanks to Ham, you can also set mp_max_armor "0" - Determines the highest level of armor allowed to be purchased. (0) None, (1) Kevlar, (2) Kevlar + Helmet
Which is much more simple than actually using a plugin lol.
Attached Files
File Type: sp Get Plugin or Get Source (nokevlar.sp - 334 views - 1.3 KB)

Last edited by Maxximou5; 05-27-2017 at 16:53. Reason: doh
Maxximou5 is offline
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 05-27-2017 , 07:10   Re: Restrict buying of Kevlar
Reply With Quote #4

mp_max_armor
hamilton5 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 12:16.


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