legacy-ruinerr
07-19-2004, 11:09 PM
How the hell do i get the current weapons name that the player is holding, iv looked through the code and searched and cannot find one instance where this happens.
Im inside a class that extends weaponfire ( its a modified version of instantfire ) and i want to be able to do something like this
case ( Weapon )
{
AssaultRifle:
stuff;
break;
MachineGun:
morestuff;
break;
default:
otherstuff;
break;
}
Im inside a class that extends weaponfire ( its a modified version of instantfire ) and i want to be able to do something like this
case ( Weapon )
{
AssaultRifle:
stuff;
break;
MachineGun:
morestuff;
break;
default:
otherstuff;
break;
}