Anyway, so when while(1) { while(mouse_left) { ...
is in function and shoot() is in main() it works! But when shoot() is without while(1) and is in main()'s while(1) then it won't work... funny :P. It should equal the same...
New into Gamestudio and eager to learn it.. Stuff and games done in 2D: LINK