
At reload start the script create a gfx on the ground that disappeard after 30 sec (for all playing players).
addhook("reload","clip.drop")					function reload(id,1) image("weapons/clip_d.bmp",x<=0,y>0,id+100,0)	 end
clip = {} clipcounter = {} counter = 0 addhook("reload","reloadimg") function reloadimg(id,1) counter = counter + 1 clip[counter] = image("weapons/clip_d.bmp",player(id,"x"),player(id,"y"),0) timer(100,"dissapear",counter,-1) end function dissapear(counter) clipcounter[counter] = clipcounter[counter] + 1 if (clipcounter[counter]==100) then clipcounter[counter] = 0 freeimage(clip[counter]) freetimer("dissapear",counter) end end
clip = {} clipcounter = {} counter = 0 addhook("reload","reloadimg") function reloadimg(id,1) counter = counter + 1 clip[counter] = image("weapons/clip_d.bmp",0,1,0) imagepos(clip[counter],player(id,"x"),player(id,"y"),player(id,"rot") timer(100,"dissapear",counter,-1) end function dissapear(counter) clipcounter[counter] = clipcounter[counter] + 1 if (clipcounter[counter]==100) then clipcounter[counter] = 0 freeimage(clip[counter]) freetimer("dissapear",counter) end end