FPS Reload Shoting Help!!!!!!

Can someone help i’m using FPS Tutorial and i made an animation but does anybody know how to play animation when i ran of bullet.I made a script to Play animation when press r but i want it self to play it when i’m out of bullets…Can some one help me please!!!Thanx

if (Input.GetButton(“Fire”) bullets <= 0){
animation.Play();
}

Is this what you’re looking for?

Thanx,But the script doesn’t work for me…Lookfile:///C:/Documents%20and%20Settings/Windows%20XP/Desktop/Shot.bmp

I would like to point out to you the fact that we can not see documents on your computer. You must upload the file instead.

I don’t know how to upload a picture but i need help.I want In FPS Tutorial when i ran out of bullets animation plays to reload bye it self…And do you know some sites with characters with animations?Free

I got it but now when i ran out of bullets animation will play, but the bullets stay on 0…Can someone help me?

Ok i got it working

Figuring things out by ourselves are we?

Thats what we like to see :smile:. Sorry for not replying, I didn’t notice the email.

Ok man hey my new account is Alexa99 they baned me. :frowning:

Ok… I won’t ask why!

Ok :slight_smile: