FuriouZ Posted January 11, 2014 Posted January 11, 2014 setTimer( function() guiCreateStaticImage(0.19, 0.01, 0.63, 1.00, "img/level/levelUP.png", true) end, 10000, 0) How to destroy this image after 20 seconds ? Homepage @ http://rageresources.blogspot.com/ Offical Facebook @ https://www.facebook.com/pages/Rage-Scr ... fref=photo
.:HyPeX:. Posted January 11, 2014 Posted January 11, 2014 or just .. local image = .. gui image creation .. local timer = setTimer(function() guiSetVisible(image, false) -- False to hide, true to show end, 20000, 1) Note: i belive you need to define this type of timers to work. (with function) My ingame nick is ~HyPeX~ BF3 Gamemode Progress: ~30% - Currently working on AI & MapManager
Gallardo9944 Posted January 11, 2014 Posted January 11, 2014 image = guiCreateStaticImage(0.19, 0.01, 0.63, 1.00, "img/level/levelUP.png", true) timer = setTimer(guiSetVisible,20000,1,image,false) Code Debugger - Minimalistic MTA debug line replacement
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now