> if(Player_weapon = 1)
You're probably wanting to use == here.

Your indentation could be a lot better.
SourceForge.net: Indentation - cpwiki