Added default restrictions, added market options in the menu

This commit is contained in:
Greyscale
2009-04-14 01:29:24 +02:00
parent 0d5b805387
commit 44b0e776f2
6 changed files with 559 additions and 438 deletions

View File

@ -191,7 +191,7 @@ bool:WeaponsIsRestrict(const String:weapon[])
if (StrEqual(validweapon, weapon, false))
{
KvGetString(kvWeapons, validweapon, restrict, sizeof(restrict), "no");
KvGetString(kvWeapons, "restrict", restrict, sizeof(restrict), "no");
return ConfigOptionToBool(restrict);
}
@ -220,7 +220,7 @@ bool:WeaponsIsWeaponMenu(const String:weapon[])
if (StrEqual(validweapon, weapon, false))
{
KvGetString(kvWeapons, validweapon, menu, sizeof(menu), "yes");
KvGetString(kvWeapons, "menu", menu, sizeof(menu), "yes");
return ConfigOptionToBool(menu);
}