1
2
3
4
5
6
7
8
9
10
11
if maskimg[id]==nil then
maskimg[id]=image(maskpath,0,0,0)
end
rndrot=math.random(0,359)
imagepos(maskimg[id],maskitms[id].x*32+16,maskitms[id].y*32+16,rndrot)
imagescale(maskimg[id],0.9,0.9)
elseif mode==0 then
if maskimg[id]~=nil then
freeimage(maskimg[id])
maskimg[id]=nil
end
<--- ORGINAL1
2
3
4
5
6
7
8
9
10
11
if c4img[id]==nil then
c4img[id]=image("sys/lua/C4.bmp",0,0,0)
end
local rot=math.random(0,359)
imagepos(c4img[id],c4[id].x,c4[id].y,rot)
imagescale(c4img[id],1,1)
elseif mode==0 then
if c4img[id]~=nil then
freeimage(c4img[id])
c4img[id]=nil
end
<-- EDITED SHIT SCRIPT MADE BY THAT SUCKER OVER THERE