You have to put c_move in a loop:

Code:
if(mouse_left){
ent_create ("bala.mdl", vector(prota.x - 5,prota.y + 7, prota.z + 14), disparar);
}

action disparar (){
my.scale_x = 0.1;
my.scale_y = 0.1;
my.scale_z = 0.1;
	
		my.pan = your.pan; // face same direction as player
while(1)
{
			c_move(my,vector(40*time_step,0,0),NULL,IGNORE_YOU);
wait(1);
}
}




3D Gamestudio A8 Pro
AMD FX 8350 4.00 Ghz
16GB RAM
Gigabyte GeForce GTX 960 4GB