Added default restrictions, added market options in the menu

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

No files matched your search

+2 -2
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);
}