xX|KeMo|Xx Posted July 18, 2012 Share Posted July 18, 2012 سلام عليكم كنت قاعد اسوي مود لرمضان ف واجهتني مشكله ابي الصوره تيجي بعد التيمير هذا 10000 وبعدين تختفي بعد ثواني من ظهورها التيمير = timer addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), function() -- little interval, music is getting laggy when all resources are starting.. setTimer(function() kemo = guiCreateStaticImage ( 0,0,799,599, "kemo.png", true ) end, 10000, 1) end ) وشكرا Link to comment
Bssol Posted July 18, 2012 Share Posted July 18, 2012 local x,y = guiGetScreenSize () local kemo = guiCreateStaticImage ( 0, 0, x, y, "kemo.png", false ) function onStart() setTimer( function() guiSetVisible ( kemo, false ) end, 10000, 1 ) end addEventHandler( "onClientResourceStart", getResourceRootElement(), onStart ) Link to comment
Al3grab Posted July 18, 2012 Share Posted July 18, 2012 kemo = guiCreateStaticImage ( 0,0,799,599, "kemo.png", true ) guiSetVisible(kemo ,false) setTimer(guiSetVisible,10 * 1000,1,kemo ,true) setTimer(guiSetVisible,15 * 1000,1,kemo ,false) Link to comment
TAPL Posted July 18, 2012 Share Posted July 18, 2012 kemo = guiCreateStaticImage ( 0,0,799,599, "kemo.png", true ) guiSetVisible(kemo ,false) setTimer(guiSetVisible,10 * 1000,1,kemo ,true) setTimer(guiSetVisible,15 * 1000,1,kemo ,false) relative: This is whether sizes and positioning are relative. If this is true, then all x,y,width,height floats must be between 0 and 1, representing measures relative to the parent. kemo = guiCreateStaticImage ( 0,0,799,599, "kemo.png", false ) guiSetVisible(kemo ,false) setTimer(guiSetVisible,10 * 1000,1,kemo ,true) setTimer(guiSetVisible,15 * 1000,1,kemo ,false) Link to comment
xX|KeMo|Xx Posted July 18, 2012 Author Share Posted July 18, 2012 جزاكم الله خيرا مشكووور كثير Link to comment
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