Forum Jump :

Author Message


Posts: 2
Rank:


Level: Member

Country: 00
Location:
Occupation:
Age:
In-game name:

 
#177594 Posted at 2015-03-11 15:47        
     
Hi!

I found the script for target shooting, but the problem is that I dont know how to stop it (I want to soldier stopped firing after he fired 5 rounds.)

null=sold1 spawn {sold1 dotarget t1 ;sleep 2;while {alive t1 and alive sold1} do {sleep 0.5; gl action ["useweapon",vehicle sold1,sold1,0];}};