1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
["bulletturr"] = { 				name = "M142 turret"; 				projid = 90; 				health = 300; 				price = 10000; 				gfx = "gfx/mafia_man/mm1/turretgun.bmp"; 				 				shootself = false; 				 				range = 240; 				flydist = 240; 				 				shoot_delay = 80; 				aim_delay = 100; 				 				explode = true; 				exp_size = 100; 				exp_damage = 75; 				 				f_if = nil; 				f_if = function(id) 					if player(id, "health") < player(id, "maxhealth") then 						return true 					else 						return false 					end 				end; ]] 			};
Then i tested it and in case of shooting minigun bullets is throwed constantly the item in case of its proyectile.
Im newbie in lua so dont be rude in the comments.
So, you can help me fix it?