View Single Post
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 02-21-2010 , 05:36   Re: [CSS] Weapon Restrict
Reply With Quote #126

I found TYPO !!

I tried find quick in
...cfg/sourcemod/weapon_restrict.cfg
weapon_sg552
Nope from first time. I ctrl+F search 552
I found it but have been write
Code:
// Restrict/Unrestrict -1 unrestricts vesthelm for ct
// -
// Default: "-1"
sm_restrict_sg552_ct "-1"

// Restrict/Unrestrict -1 unrestricts vesthelm for t
// -
// Default: "-1"
sm_restrict_sg552_t "-1"
I thought must be come with zip file so I renamed old cfg and let plugin create new one.
No, same description

I peek source file and found typo in
...scripting\restrictinc\commands_cvars_tries .sp
Line: 187, 188
PHP Code:
    sg552ct         CreateConVar("sm_restrict_sg552_ct""-1""Restrict/Unrestrict -1 unrestricts vesthelm for ct");
    
sg552t             CreateConVar("sm_restrict_sg552_t""-1""Restrict/Unrestrict -1 unrestricts vesthelm for t"); 
I fix and compiled myself
__________________
Do not Private Message @me
Bacardi is offline