1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
elseif class[id]== 26 then 		if wep==72 then 			for i=0,315,45 do 				parse("spawnprojectile "..id.." 72 "..x.." "..y.." "..math.random(800,950).." "..i) 				timer(300,"parse","freeprojectile 72 0") 			end 		end 	end
Player to throw projectile(gas grenade for example) and then for it to split into 8 others. I used that "for" from sample and I got good angles, now the problem is that I throw one grenade and it goes as following
1 > 8 > 64 > 64x64 > ZxZ > ... > Crash !
I tried to use "Freeprojectile" but it does completely nothing I tried with both "..id) parameter and with "0" since I didn't know whether the new projectiles were spawned by player or not, but neither worked ...