Jump to content

طلب


jafar

Recommended Posts

هذا صعب عليه

--

جرب ذا يمكن ينفع

local v,y = guiGetPosition(guiElement,true) 
local v = 400 
local y = 100 
Label = guiCreateLabel(v,y,500,100,"Test",false) 
  
Move = setTimer(function() 
    guiSetPosition(Label,v,y,false) 
    y = y +50 
end,1000,0) 
  
setTimer(function() 
    if isTimer(Move) then 
        killTimer(Move) 
    end 
end,3000,1) 

او

local v,y = guiGetPosition(guiElement,true) 
local v = 400 
local y = 100 
Label = guiCreateLabel(v,y,500,100,"Test",false) 
  
function Move() 
    guiSetPosition(Label,v,y,false) 
    y = y +1 
end 
addEventHandler("onClientRender",getRootElement(),Move) 
  
setTimer(function() 
    removeEventHandler("onClientRender",getRootElement(),Move) 
end,3000,1) 

هذا من اليسار لليمين وهو ينزل جرب

local v,y = guiGetPosition(guiElement,true) 
local v = 400 
local y = 100 
Label = guiCreateLabel(v,y,100,100,"Test",false) 
  
function Move() 
    guiSetPosition(Label,v,y,false) 
    y = y +1 
    v = v +1 
end 
addEventHandler("onClientRender",getRootElement(),Move) 
  
setTimer(function() 
    removeEventHandler("onClientRender",getRootElement(),Move) 
end,4000,1) 

وهذا من اليمين لليسار وهو ينزل بأمكأنك تخليه من اليمين للوسط عدل ألأحداثيات جرب

local v,y = guiGetPosition(guiElement,true) 
local v = 400 
local y = 100 
Label = guiCreateLabel(v,y,100,100,"Test",false) 
  
function Move() 
    guiSetPosition(Label,v,y,false) 
    y = y +1 
    v = v -1 
end 
addEventHandler("onClientRender",getRootElement(),Move) 
  
setTimer(function() 
    removeEventHandler("onClientRender",getRootElement(),Move) 
end,4000,1) 

Link to comment
  • 1 month later...
  • 1 year later...

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