new weapon = GetPlayerWeaponSlot(client, TFWeaponSlot_Melee);
if (weapon != -1 && IsValidEntity(weapon))
{
new index = GetEntProp(BossMeleeweapon, Prop_Send, "m_iItemDefinitionIndex");
switch (index)
{
case 1:
{
// Do Stuff
}
case 2:
{
// Do other Stuff
}
default:
{
// Do another Stuff
}
}
}
Comments
0 B
|👍
/👎