Knife and pistol script
Posted: Tue Mar 20, 2007 8:18 pm
Hey, i dont know rf scripting yet, but could you have a script that letas you hold a knife and a pistol at the same time, and use right mouse button to fire one and left mouse for other?perhaps:
and i could dig up some old code to make the weapon firing work independantly
(soz for bad coding
)
Code: Select all
{
if activeWeapon==pistol
and pickedUpWeapon==knife
then keepPistolActive
else if activeWeapon==knife
and pickedUpWeapon==pistol
then keepKnifeActive
}
(soz for bad coding