sorry for the delay it's this one:
Thanks; the code looks correct, it should be working
Are you using any other code in addition to this one?
no
but my objective is that the 2 players can shoot
As far as I can see, the code seems correct; the player 0 should be shooting missile 0 every time you press the fire button.