the items are coded into the menu, the cvars just make it so you can't choose the item, to disable try to find and comment this
Code:
native_register_extra_item2("nvision", g_extra_costs2[0], ZP_TEAM_HUMAN)
and also find this
Code:
// Hard coded extra items
enum
{
EXTRA_NVISION = 0,
EXTRA_ANTIDOTE,
EXTRA_MADNESS,
EXTRA_INFBOMB
}
and change that 0 to -1. as for the weapons find
Code:
new const g_extra_names[][] = { "Napalm Nade", "Frost Nade", "Flare", "AWP Magnum Sniper", "M249 Para Machinegun", "SG550 Auto-Sniper", "G3SG1 Auto-Sniper" }
new const g_extra_items[][] = { "weapon_hegrenade", "weapon_flashbang", "weapon_smokegrenade", "weapon_awp", "weapon_m249", "weapon_sg550", "weapon_g3sg1" }
new const g_extra_costs[] = { 6, 6, 6, 8, 10, 12, 12 }
and change to
Code:
new const g_extra_names[][] = { }
new const g_extra_items[][] = { }
new const g_extra_costs[] = { }
that may/may not be enough to disable the way you want.
edit: also find this
Code:
#define EXTRAS_CUSTOM_STARTID (4+sizeof g_extra_names)
and change that 4 to 3 and also find
Code:
case 4 .. EXTRAS_CUSTOM_STARTID-1: // Weapons
and change that 4 to 3 as well(p.s. thats found in the buy_extra_item function)
__________________
If at first you don't succeed, then skydiving isn't for you.