I believe I need 3d. Here's how I'm using:
Code:
enum _:eKnife
{
KNIFE_NAME[32],
KNIFE_SOUND,
};
enum _:eKnifeSounds
{
SND_KNIFE_DEPLOY = 0,
SND_KNIFE_DEPLOY1,
SND_KNIFE_HIT1,
SND_KNIFE_HIT2,
SND_KNIFE_HIT3,
SND_KNIFE_HIT4,
SND_KNIFE_WALL1,
SND_KNIFE_WALL2,
SND_KNIFE_SLASH1,
SND_KNIFE_SLASH2,
SND_KNIFE_STAB,
};
// -1, emit default CS knife sounds
new const g_rgKnives[][eKnife] = {
{ "Default Knife", -1 },
{ "Boxing Gloves", 0 // g_szKnivesSounds[0][eKnifeSounds] },
{ "Example", 1 // g_szKnivesSounds[1][eKnifeSounds] }
};
new const g_szKnivesSounds[][eKnifeSounds][] = {
{ "boxing_deploy1", "boxing_deploy1", "boxing_hit1", "boxing_hit2", "boxing_hit3", "boxing_hit4",
"boxing_hitwall1", "boxing_hitwall1", "boxing_slash1", "boxing_slash2", "boxing_stab" },
{ "example_deploy1", "example_deploy1", "example_hit1", "example_hit2", "example_hit3", "example_hit4",
"example_hitwall1", "example_hitwall1", "example_slash1", "example_slash2", "example_stab" }
}