hey, i cannot understand why this isnt working. im trying to get you to be able to press S to switch from ur primary weapon to ur side arm or vice versa. as of now you can switch from ur side arm to the primary weapon but not back.
Apparently in the IF statement on line 98 (where it check to see if the currentweapon of the player is equal to the primaryweapon he has, it is NEVER equal.
im confused on this, attached is the project folder
arrow keys to move/strafe
mouse to look
r to reload
s to switch weapons (NOT WORKING)