Thanks for the quick reply!
Okay, How would I get the desired effect? I've tried a few things but they didn't work..
This gave same problem:
`Reduces by 1 ammo and plays sound
if ammo > 0 and Mouseclick()=1 and ammoTimer <= timer() and reloadTimer <= timer()
dec ammo,1
ammoTimer = timer()+50
Play sound m4_shoot
`Defines Kick Variable and puts to use
Kick = -1
Kick2 = 0
kick3 = 1
xrotate camera camera angle x() + kick
yrotate camera camera angle y() + kick or kick2 or kick3
endif
This only kicked left and never even went just up but always left:
`Reduces by 1 ammo and plays sound
if ammo > 0 and Mouseclick()=1 and ammoTimer <= timer() and reloadTimer <= timer()
dec ammo,1
ammoTimer = timer()+50
Play sound m4_shoot
`Defines Kick Variable and puts to use
Kick = -1
Kick2 = 0
xrotate camera camera angle x() + kick
yrotate camera camera angle y() + kick or kick2
endif
And this gives an error "Could not determine parameter type of 'yrotate camera camera angley()' at line 175":
if ammo > 0 and Mouseclick()=1 and ammoTimer <= timer() and reloadTimer <= timer()
dec ammo,1
ammoTimer = timer()+50
Play sound m4_shoot
`Defines Kick Variable and puts to use
Kick = -1
Kick2 = 0
xrotate camera camera angle x() + kick
yrotate camera camera angle y() + kick or yrotate camera camera angle y() + kick2
endif
I'm still learning could you please tell me what I need to do? Thanks!
ProphetHill