Script which will reveal blue screen (e.g. block.bmp - blue) for a moment on the player screen when he killed someone player.
after this, blue screen should then slowly disappear untill moment in which block.bmp full vanish/die.
parse("mp_hudscale 1") timeToFade = 1000 --1000 = 1 second. screenColour = {0, 0, 0} --To make sure the given ID be a number since timers do give output as string far as I remember _freeimage = freeimage function freeimage(id) tonumber(id) _freeimage(id) end addhook("kill", "_kill") function _kill(killer) local blueScreen = image("gfx/block.bmp", 425, 240, 2, id) imagecolor(blueScreen, unpack(screenColour)) imagescale(blueScreen, 27, 15) tween_alpha(blueScreen, timeToFade, 0) timer(timeToFade, "freeimage", blueScreen) end
timeToFadeor
screenColourvariables for your own taste.
function _kill(killer,id)
function _kill(id)