Jump to content

طلب فنكشنات


Jey

Recommended Posts

بسم الله الرحمن الرحيم

السلام عليكم

اريد فنكشنات

5 صور ورا بعض و بعدين ينتهو الصور

مع اغنية مثل قيم مود مستر سعد

بس ابي انا اسويها

Link to comment
local x,y = guiGetScreenSize() 
onStart = function() 
    local sound = playSound("Sound.mp3")  
   setSoundVolume(sound, 0.5) - 
    local image = guiCreateStaticImage( 0, 0, x, y, 'Name.png', false ) 
        setTimer(guiSetVisible,9000,1,image,false) 
    end 
addEventHandler('onClientResourceStart',resourceRoot,onStart) 

الصور ما تظهر + ابيها تكون بحترافية اشكال كذا

Link to comment

اخي بيها ب الطريقة ذي ما اابيها ببرنامج

local sound = playSound("Sound.mp3") 
   setSoundVolume(sound, 0.5)  
    local image = guiCreateStaticImage( 0, 0, 1, 1, 'Name.png', false ) 
  TimerA = setTimer(function() 
    guiSetAlpha(image, tonumber(1)) 
   end, 2000, 1, true) 
    
  TimerB = setTimer(function() 
    guiSetAlpha(image, tonumber(0.5)) 
   end, 4000, 1, true) 
  
  TimerC = setTimer(function() 
    guiSetAlpha(image, tonumber(0.0)) 
   end, 6000, 1, true) 
  
  TimerD = setTimer(function() 
    guiSetVisible(image,false) 
    destroyElement(sound) 
   end, 6100, 1, true) 
Link to comment

local sound = playSound("Sound.mp3") 
   setSoundVolume(sound, 0.5)  
    local image = guiCreateStaticImage( 0, 0, 1, 1, 'Name.png', false ) 
  TimerA = setTimer(function() 
    guiSetAlpha(image, tonumber(1)) 
   end, 2000, 1, true) 
    
  TimerB = setTimer(function() 
    guiSetAlpha(image, tonumber(0.5)) 
   end, 4000, 1, true) 
  
  TimerC = setTimer(function() 
    guiSetAlpha(image, tonumber(0.0)) 
   end, 6000, 1, true) 
  
  TimerD = setTimer(function() 
    guiSetVisible(image,false) 
    destroyElement(sound) 
   end, 6100, 1, true) 

الصور ما تشتغل بس الاغاني

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...