The first attack works, but it doesn't the second time.
1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12
addhook("attack","tank_attack") function tank_attack(id) 	if tankatk[id]==1 then 		tankatk[id]=0 		timer(1500,"tank_reload",id) 		parse("spawnprojectile "..id.." 47 "..player(id,"x").." "..player(id,"y").." 300 "..player(id,"rot")) 	end end function tank_reload(id) 	tankatk[id]=1 end
1× editiert, zuletzt 17.02.13 13:51:25