tarekxd Posted March 19, 2014 Share Posted March 19, 2014 ممكن تعطوني اكواد كيف اساوي مود اول ما يبلش يشتغل تيجي صور متتالية ما يشابه الفلم الرجاء الرد بسرعة وشكرا جزيلا Link to comment
al-Kobra Posted March 19, 2014 Share Posted March 19, 2014 'onClientResourceStart' function setTimer > guiCreateStaticImage Link to comment
iPrestege Posted March 19, 2014 Share Posted March 19, 2014 'onClientResourceStart' function setTimer > guiCreateStaticImage + guiStaticImageLoadImage اذا يبي يغير الصورة بين كل مرة ولا يسوي ديستروي لها باستخدام : destroyElement ويسوي جديدهـ .. Link to comment
tarekxd Posted March 19, 2014 Author Share Posted March 19, 2014 انا مبتدئ الرجاء التوضيح Link to comment
iPrestege Posted March 19, 2014 Share Posted March 19, 2014 function -- انشاء وظيفة .. guiCreateStaticImage -- انشاء صورهـ .. setTimer -- تعيين مؤقت .. guiStaticImageLoadImage -- لـ تغيير الصورهـ أعلاهـ .. Link to comment
Arnold-1 Posted March 19, 2014 Share Posted March 19, 2014 بفضل استخدام dxDrawImage واحد فقط Frameلانها ترسم الصورة لـ Link to comment
ΞĪŚŚÀ Posted March 19, 2014 Share Posted March 19, 2014 ذا كود من قيم مود سعد [/ b]( GangWars ) مدري اذا نفس الي تبي addEvent("hideRegisterWindow", true) addEventHandler("hideRegisterWindow", getRootElement(), hideRegisterWindow) BACK = guiCreateStaticImage(0,0,1,1,"images/black.png",true) s3d1 = guiCreateStaticImage(0,0,1,1,"images/1.png",true) s3d2 = guiCreateStaticImage(0,0,1,1,"images/2.jpg",true) s3d3 = guiCreateStaticImage(0,0,1,1,"images/3.png",true) guiSetVisible(s3d2, false) guiSetVisible(s3d3, false) triggerServerEvent('onLoadedClient',localPlayer,localPlayer) local Timer = setTimer Timer(function() sound = playSound("Other/sound.mp3", true) end, 1000, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0.9)) end, 5000, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0.9)) end, 6000, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0.-- s8) -->) end, 6150, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0.7)) end, 6250, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0.6)) end, 6350, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0.5)) end, 6450, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0.4)) end, 6550, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0.3)) end, 6650, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0.2)) end, 6750, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0.1)) end, 6850, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0)) end, 6855, 1, true) Timer(function() guiSetVisible(s3d1, false) end, 6900, 1, true) Timer(function() guiSetVisible(s3d2, true) end, 7000, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.9)) end, 8895, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.9)) end, 9000, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.-- s8) -->) end, 9150, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.7)) end, 9250, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.6)) end, 9350, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.5)) end, 9450, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.4)) end, 9550, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.3)) end, 9650, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.2)) end, 9750, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.1)) end, 9850, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.1)) end, 9855, 1, true) Timer(function() guiSetVisible(s3d2, false) end, 9899, 1, true) Timer(function() guiSetVisible(s3d3, true) end, 9900, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.9)) end, 10000, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.9)) end, 10250, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.9)) end, 10350, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.-- s8) -->) end, 10650, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.-- s8) -->) end, 10850, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.7)) end, 10900, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.6)) end, 10950, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.5)) end, 10970, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.4)) end, 10990, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.3)) end, 11050, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.2)) end, 11150, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.1)) end, 11180, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.1)) end, 11390, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.1)) end, 11690, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.2)) end, 11999, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.2)) end, 12600, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.1)) guiSetSize( s3d3, 80/100, 80/100, true ) end, 13100, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0)) end, 13600, 1, true) Timer(function() guiSetVisible(s3d3, false) guiSetVisible(BACK, false) destroyElement(sound) loginPanel() end, 14200, 1, true) Link to comment
#DRAGON!FIRE Posted March 19, 2014 Share Posted March 19, 2014 بفضل استخدام dxDrawImage واحد فقط Frameلانها ترسم الصورة لـ كذا الكود يطول ويصعب > < Link to comment
</Mr.Tn6eL> Posted March 20, 2014 Share Posted March 20, 2014 مني متاكد شوف ذا path = "1.png" setTimer ( function ( ) path = "2.png" end, 5000, 1 ) setTimer ( function ( ) removeEventHandler("onClientRender", root,ksa) end, 15000, 1 ) function ksa () local w, h = guiGetScreenSize() dxDrawImage ( 0, 0, w, h, path ) end addEventHandler("onClientRender", root,ksa) او local w, h = guiGetScreenSize() local ksa = guiCreateStaticImage ( 0, 0, w, h, "1.png", true ) setTimer ( guiStaticImageLoadImage, 5000, 1, ksa, "2.png" ) Link to comment
</Mr.Tn6eL> Posted March 20, 2014 Share Posted March 20, 2014 ذا كود من قيم مود سعد [/ b]( GangWars )مدري اذا نفس الي تبي addEvent("hideRegisterWindow", true) addEventHandler("hideRegisterWindow", getRootElement(), hideRegisterWindow) BACK = guiCreateStaticImage(0,0,1,1,"images/black.png",true) s3d1 = guiCreateStaticImage(0,0,1,1,"images/1.png",true) s3d2 = guiCreateStaticImage(0,0,1,1,"images/2.jpg",true) s3d3 = guiCreateStaticImage(0,0,1,1,"images/3.png",true) guiSetVisible(s3d2, false) guiSetVisible(s3d3, false) triggerServerEvent('onLoadedClient',localPlayer,localPlayer) local Timer = setTimer Timer(function() sound = playSound("Other/sound.mp3", true) end, 1000, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0.9)) end, 5000, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0.9)) end, 6000, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0.-- s8) -->) end, 6150, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0.7)) end, 6250, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0.6)) end, 6350, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0.5)) end, 6450, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0.4)) end, 6550, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0.3)) end, 6650, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0.2)) end, 6750, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0.1)) end, 6850, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0)) end, 6855, 1, true) Timer(function() guiSetVisible(s3d1, false) end, 6900, 1, true) Timer(function() guiSetVisible(s3d2, true) end, 7000, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.9)) end, 8895, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.9)) end, 9000, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.-- s8) -->) end, 9150, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.7)) end, 9250, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.6)) end, 9350, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.5)) end, 9450, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.4)) end, 9550, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.3)) end, 9650, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.2)) end, 9750, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.1)) end, 9850, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.1)) end, 9855, 1, true) Timer(function() guiSetVisible(s3d2, false) end, 9899, 1, true) Timer(function() guiSetVisible(s3d3, true) end, 9900, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.9)) end, 10000, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.9)) end, 10250, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.9)) end, 10350, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.-- s8) -->) end, 10650, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.-- s8) -->) end, 10850, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.7)) end, 10900, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.6)) end, 10950, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.5)) end, 10970, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.4)) end, 10990, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.3)) end, 11050, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.2)) end, 11150, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.1)) end, 11180, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.1)) end, 11390, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.1)) end, 11690, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.2)) end, 11999, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.2)) end, 12600, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.1)) guiSetSize( s3d3, 80/100, 80/100, true ) end, 13100, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0)) end, 13600, 1, true) Timer(function() guiSetVisible(s3d3, false) guiSetVisible(BACK, false) destroyElement(sound) loginPanel() end, 14200, 1, true) اح كذا لاق Link to comment
iPrestege Posted March 20, 2014 Share Posted March 20, 2014 local iTime = 10000 local iCallLast = getTickCount ( ) -- Complete Here addEventHandler ( 'onClientRender',getRootElement ( ), function ( ) local iTickNow = getTickCount ( ) if ( iTickNow - iCallLast > iTime ) then -- Complete Here end end ) Link to comment
tarekxd Posted March 20, 2014 Author Share Posted March 20, 2014 (edited) اسف على الطلبات لكثيرة بس مو ظابطة ابي كود يظبط ويكون مع اغنية بالله Edited March 20, 2014 by Guest Link to comment
iPrestege Posted March 20, 2014 Share Posted March 20, 2014 شكرا لكم كلكم واحد واحد لبى قلوبكم <3 على الرحب و السعـه . Link to comment
tarekxd Posted March 21, 2014 Author Share Posted March 21, 2014 ذا كود من قيم مود سعد [/ b]( GangWars )مدري اذا نفس الي تبي addEvent("hideRegisterWindow", true) addEventHandler("hideRegisterWindow", getRootElement(), hideRegisterWindow) BACK = guiCreateStaticImage(0,0,1,1,"images/black.png",true) s3d1 = guiCreateStaticImage(0,0,1,1,"images/1.png",true) s3d2 = guiCreateStaticImage(0,0,1,1,"images/2.jpg",true) s3d3 = guiCreateStaticImage(0,0,1,1,"images/3.png",true) guiSetVisible(s3d2, false) guiSetVisible(s3d3, false) triggerServerEvent('onLoadedClient',localPlayer,localPlayer) local Timer = setTimer Timer(function() sound = playSound("Other/sound.mp3", true) end, 1000, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0.9)) end, 5000, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0.9)) end, 6000, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0.-- s8) -->) end, 6150, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0.7)) end, 6250, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0.6)) end, 6350, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0.5)) end, 6450, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0.4)) end, 6550, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0.3)) end, 6650, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0.2)) end, 6750, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0.1)) end, 6850, 1, true) Timer(function() guiSetAlpha(s3d1, tonumber(0)) end, 6855, 1, true) Timer(function() guiSetVisible(s3d1, false) end, 6900, 1, true) Timer(function() guiSetVisible(s3d2, true) end, 7000, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.9)) end, 8895, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.9)) end, 9000, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.-- s8) -->) end, 9150, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.7)) end, 9250, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.6)) end, 9350, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.5)) end, 9450, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.4)) end, 9550, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.3)) end, 9650, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.2)) end, 9750, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.1)) end, 9850, 1, true) Timer(function() guiSetAlpha(s3d2, tonumber(0.1)) end, 9855, 1, true) Timer(function() guiSetVisible(s3d2, false) end, 9899, 1, true) Timer(function() guiSetVisible(s3d3, true) end, 9900, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.9)) end, 10000, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.9)) end, 10250, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.9)) end, 10350, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.-- s8) -->) end, 10650, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.-- s8) -->) end, 10850, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.7)) end, 10900, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.6)) end, 10950, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.5)) end, 10970, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.4)) end, 10990, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.3)) end, 11050, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.2)) end, 11150, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.1)) end, 11180, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.1)) end, 11390, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.1)) end, 11690, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.2)) end, 11999, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.2)) end, 12600, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0.1)) guiSetSize( s3d3, 80/100, 80/100, true ) end, 13100, 1, true) Timer(function() guiSetAlpha(s3d3, tonumber(0)) end, 13600, 1, true) Timer(function() guiSetVisible(s3d3, false) guiSetVisible(BACK, false) destroyElement(sound) loginPanel() end, 14200, 1, true) ما ابي كذا ابي بس يبلش المود Link to comment
tarekxd Posted March 21, 2014 Author Share Posted March 21, 2014 شباب اعطوني كود جاهز مع اغنية لاني مبتدئ تكفون Link to comment
Arnold-1 Posted March 22, 2014 Share Posted March 22, 2014 هناك طريقة أفضل بكل الصور Tableتعمل For loop و بعدين Link to comment
al-Kobra Posted March 22, 2014 Share Posted March 22, 2014 شباب اعطوني كود جاهز مع اغنية لاني مبتدئ تكفون آسف, نحن لا نساعد على الفساد.با عرض پوزش ما را برای فساد کمک نمی کند. Sorry we don't help for corruption. Sorry wij niet helpen wegens corruptie. Désolé, nous n'avons pas d'aide pour la corruption. Lo sentimos, no ayudan a la corrupción. Maalesef biz yolsuzluk için yardımcı yoktur. סליחה שאנחנו לא עוזרים לשחיתות. К сожалению, мы не помогают для коррупции. माफ करना, हम भ्रष्टाचार के लिए मदद नहीं करते. Link to comment
</Mr.Tn6eL> Posted March 24, 2014 Share Posted March 24, 2014 شباب اعطوني كود جاهز مع اغنية لاني مبتدئ تكفون آسف, نحن لا نساعد على الفساد.با عرض پوزش ما را برای فساد کمک نمی کند. Sorry we don't help for corruption. Sorry wij niet helpen wegens corruptie. Désolé, nous n'avons pas d'aide pour la corruption. Lo sentimos, no ayudan a la corrupción. Maalesef biz yolsuzluk için yardımcı yoktur. סליחה שאנחנו לא עוזרים לשחיתות. К сожалению, мы не помогают для коррупции. माफ करना, हम भ्रष्टाचार के लिए मदद नहीं करते. يب يب تعلم وخلي يسوي المود وذنبه جنبه Link to comment
Recommended Posts