AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=7)
-   -   Solved Weapon Restrictions dont work (https://forums.alliedmods.net/showthread.php?t=304792)

AllMassive 01-27-2018 17:32

Weapon Restrictions dont work
 
I'm using latest 5151-amxx with rehlds and regame_dll.
it happens quite often that players are able to buy restricted weapons.
in my case i've disable the shields but under 'certain conditions' the cts are able to buy them.
to me it looks like this happens randomly.

weaprest.ini:
Code:


; Generated by Restrict Weapons Plugin. Do not modify!
; value name

; Sniper Rifles
; -
;g3sg1            ; H&K G3/SG-1 Sniper Rifle

; Equipment
; -
;shield          ; Tactical Shield
; value name
g3sg1            ; H&K G3/SG-1 Sniper Rifle
sg550            ; Sig SG-550 Sniper
shield          ; Tactical Shield


AllMassive 02-03-2018 18:41

Re: Weapon Restrictions dont work
 
1 Attachment(s)
Looks like a amxx-bug with rehlds/regamedll/reapi.
This Plugin works fine: https://dev-cs.ru/threads/181/

klippy 02-04-2018 06:16

Re: Weapon Restrictions dont work
 
In case something doesn't work as intended, please always try it out first on Valve's HLDS.

Arkshine 02-04-2018 08:16

Re: Weapon Restrictions dont work
 
Restrict Weapons plugin is only restricting on buy (for now). Your players get likely the shield in another way. The attached plugin above restricts in all context.

AllMassive 02-04-2018 19:06

Re: Weapon Restrictions dont work
 
They dont get it from somewhere - they are able to buy them regularly at spawn.

WhiteFang1319 02-04-2018 22:08

Re: Weapon Restrictions dont work
 
I've been using Amx Dev build for months. Never encountered this. Now I have the 5151 version. it's still working properly


All times are GMT -4. The time now is 17:29.

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