#include "func_vehicle_custom"
// Classic weapons
#include "HLSPClassicMode"
#include "hs_weapons/weapon_hlcrowbar"
#include "hs_weapons/weapon_hlmp5"
#include "hs_weapons/weapon_hlshotgun"

array<ItemMapping@> CLASSIC_WEAPONS_LIST = 
{
    ItemMapping( "weapon_9mmAR", "weapon_hlmp5" ),
    ItemMapping( "weapon_m16", "weapon_hlmp5" ),
    ItemMapping( "weapon_crowbar", "weapon_hlcrowbar" ),
    ItemMapping( "ammo_556clip", "ammo_9mmAR" ),
    ItemMapping( "weapon_shotgun", "weapon_hlshotgun" )
};

void MapInit()
{
    VehicleMapInit( true, true );

    g_ClassicMode.EnableMapSupport();

    RegisterHLCrowbar();
    RegisterHLMP5();
    RegisterHLShotgun();

    if( g_ClassicMode.IsEnabled() )//...or is it "IsStateDefined()"?
    {
        g_ClassicMode.SetItemMappings( @CLASSIC_WEAPONS_LIST );
        g_ClassicMode.ForceItemRemap( true );
    }
}