GML
if ( shoot == true )
{
if ( global.ammo_wmagazynku[ bron[ active ]] > 0 or global.ammo_zapasowe[ bron[ active ]] > 0 and shoot=false )
draw_sprite_ext( sprite_puste[ bron ],image_index,x,y,image_xscale, image_yscale, direction , image_blend,image_alpha)
else
draw_sprite_ext( sprite_strzal[ bron ],image_index,x,y,image_xscale, image_yscale,direction , image_blend,image_alpha)
}
else
draw_sprite_ext( sprite_bron[ bron ],image_index,x,y,image_xscale, image_yscale, direction , image_blend,image_alpha)
Pisałem Ci przecież wczoraj na gg.
2. Musisz losować tego sprita przy strzale, a nie w create