Jump to content

Img


#Paper

Recommended Posts

The image won't show, and in debugscript there isn't any error:

function showImg (totalAmmo, killer, killerWeapon, bodypart, stealth ) 
if isElement ( killer ) and getElementType ( killer ) == "player" then 
killImg = guiCreateStaticImage(176,244,226,182,"images/killed.png",false) 
setTimer(function () local alpha = guiGetAlpha(killImg) guiSetAlpha(killImg, alpha - 0.1) end, 500, 6) 
end 
end 
addEventHandler("onPedWasted", getRootElement(), showImg) 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...