Raised This Month: $ Target: $400
 0% 

[CSS/CS:GO] Weapon Restrict


Post New Thread Reply   
 
Thread Tools Display Modes
p0stpwned
Member
Join Date: Oct 2013
Old 10-23-2013 , 23:35   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1451

Quote:
Originally Posted by Dr!fter View Post
I looked into it, there isnt an easy fix sadly, I have a temp fix in mind but I have to incorporate it.
It's all good. For now I can just force drop the restricted weapons.
p0stpwned is offline
Monochrome
SourceMod Donor
Join Date: Oct 2013
Old 10-24-2013 , 06:47   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1452

TnTSCS would you be so kind and add the on/off command for this plugin?

Last edited by Monochrome; 10-24-2013 at 07:21.
Monochrome is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 10-24-2013 , 11:19   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1453

Released it as it's own plugin: https://forums.alliedmods.net/showthread.php?t=228649
__________________
View my Plugins | Donate
TnTSCS is offline
AlfredSpain
Senior Member
Join Date: Oct 2010
Old 11-01-2013 , 04:51   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1454

It would be possible to add a cvar?

sm_warmup_unrestrict_all 1/0

To that during warmup can use every weapon you have restrictive health even?


Also when warmup ends on time and for the same money was $ 16,000. Just when it ends and begins the round warmuop people can buy because it has 16,000 and are dedicated to buy and drop weapons, this stresses much cpu as they are releasing 30 players 20 guns each ...
__________________

Last edited by AlfredSpain; 11-01-2013 at 05:18.
AlfredSpain is offline
taket
Junior Member
Join Date: Mar 2009
Old 11-02-2013 , 16:56   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1455

Hi

I have a problem, since 3 updates does not work.

Server: CSGO
Sourcemod: 1.5.1
Metamod: 1.10.0

Only happens to me or to someone else too????

change the variables in console but when round changes are made again -1.

sm_restrict_awp_ct 2
sm_restrict_awp_t 2

I also put variables in server.cfg and casual.cfg but without results

anyone can help me? thanks

TaKeT
taket is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 11-02-2013 , 17:45   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1456

That doesn't happen to me. All of your settings should go in the weapon restrict's config file (or map specific files) and NOT in server/casual configs.

If you use console to change the CVar, then the next map it will revert back to default (whatever's in your weapon restrict config).

The config file for this plugin is "weapon_restrict.cfg", which is in your <moddir>/cfg/sourcemod folder.

To install per map configs or per prefix configs they go in addons/sourcemod/configs/restrict
mapname.cfg will be for maps and blah_.cfg for prefix it MUST have _ after the prefix (examples in the zip for test map and test prefix).
__________________
View my Plugins | Donate
TnTSCS is offline
taket
Junior Member
Join Date: Mar 2009
Old 11-03-2013 , 08:26   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1457

Hi

thank you very much, was that, I was setting up in the wrong files

thanks for the help and thanks for the plugin

TaKeT
taket is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 11-28-2013 , 03:23   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1458

Hi guys,

For my first post on this forum, I have a query for you

Weapon restrict is working fine on my server. However, I'm using CSGO genuine DeathMatch (because I find it nice and more usable than the DM plugin).
Restriction works fine when client is using manual buy, but with random weapon mode restrictions can be bypassed.

I tried hooking in events.sp line 29
Code:
SDKHook(client, SDKHook_WeaponCanSwitchTo, OnWeaponCanUse);
but client are still able to use forbidden weapon.

Can anyone give me a hint on what event I can Hook to force a forbidden weapon drop?
Or maybe a way of forcing client to disable random weapon?

Thanks in advance!
h3bus is offline
Rituel
New Member
Join Date: Dec 2013
Old 12-10-2013 , 14:56   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1459

Hello everyone,

I met a little problem.

I created rules for each type of map (de_ / fy_ / awp_ / cs_ .... ).


Except that it is not taken into effect.

For example, on a map type "awp_" the AWP remains limited as indicated in:
cfg / sourcemod / weapon_restrict.cfg

While awp_.cfg should allow
Rituel is offline
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 12-10-2013 , 18:41   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1460

Hi,

Was it on late load, or does it do that all the time?

First you should double check your configs (they seem to have a lot of info in it when I see their sizes).
Then check your perplayer restrict cvars and postwarmup cvars, they may override your map settings. Just put them again in your map configs files and change cvars to cancel them.

Alternative solution:
https://forums.alliedmods.net/showthread.php?p=607079
__________________

*** *** ***
-My plugins-

Last edited by St00ne; 12-10-2013 at 18:42.
St00ne 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 22:51.


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