- Home /
WeaponScript not working
Hi guys, i've fixed all my previous post errors ("took your advise landern and tried to do everything more correctly") but this is the only problem left that i have no idea how to fix.
Here's all my scripts associated with the gun.I know it is quite long but there might be some important piece on the top too.Sorry
http://pastebin.com/cTAQrVAg - GUIManager
http://pastebin.com/DXQ0JwcX - Weapon Manager
http://pastebin.com/rhbsQAU3 - Killfeed
Here's my problem now.When i spawn (in the script), i am actually not spawning with the actual gun i choose,i am spawning with two gun's at the same time.Here's a picture.
And even
1.when i set my KnifeModel gun range to 0 it still shoots at far range.(maybe taking from my gun range).
2. My Killfeed is also showing up that i knifeModel myself when i GunModel Myself.
which make me guess.
1. My KnifeModel is actually having my gun model script which can shoot further
2. That even when my gui manager has it set to gun model it killfeeds as knife model.
The problem:
On line 30 in WeaponManager i have put a debug.log there to apply weapon and find weapon but none of them is debug logging including all of the ones below them.
Im sorry that im asking for alot here but please help.Thanks
Your answer
Follow this Question
Related Questions
Cant Receive Exp 1 Answer
Weapon Switch Script Help 1 Answer
Switching between two weapons 1 Answer
Weapon Switching 2 Answers
Error unexpected symbol 'internal' What is wrong with this? 0 Answers