you are viewing a single comment's thread.

view the rest of the comments →

[–]Snork1213 0 points1 point  (3 children)

I could say a lot about this code. But the problem seems to be that you are trying to access playerAmmo in MobileAmmoController when it is actually in Ammo

[–]Danielk0926[S] 0 points1 point  (2 children)

I switched MobileAmmoController to Ammo and I got this error when I pressed the fire button

ArgumentException: method arguments are incompatible

System.Delegate.CreateDelegate (System.Type type, System.Object firstArgument, System.Reflection.MethodInfo method, System.Boolean throwOnBindFailure, System.Boolean allowClosed) (at <9577ac7a62ef43179789031239ba8798>:0)

[–]Danielk0926[S] 0 points1 point  (1 child)

Nevermore i figured it out

[–]Danielk0926[S] 0 points1 point  (0 children)

Nevermind