Posts: 53
Threads: 15
Joined: May 2013
Reputation:
0
Hi all, are you okay?
I was wondering how to go about preventing the player to switch a heavy weapon (Style AK-47, shotgun, sniper etc.) to not have so many heavy weapons, unrealistic thing.
Bye.
Posts: 53
Threads: 15
Joined: May 2013
Reputation:
0
Suppose I have a gun (m4 id 31), if I want the switcher will remain in my hands?
Posts: 185
Threads: 23
Joined: Jan 2013
Reputation:
0
The switcher I showed above, detectes if old weapon as 24 (deagle). If it was and new weapon is suddenly 31, it'll switch back towards 24. I hope you understand that and that you'll need to do it yourself all of the other coding.
Again, I suggest making a loop with an enum/new values that loops trought them.
Posts: 481
Threads: 19
Joined: Feb 2012
Yes so you should use loop example for all player weps player got,using geweapondata i guess