tick = 0
test = guiCreateWindow(400,500, 454, 502, "test", false) -- لوحة
guiSetVisible(test ,false)
function pop()
local rh,ry = interpolateBetween((sx - 2) / 2, (sy - 2) / 2, 0, (sx - 454) / 2, (sy - 502) / 2, 0, (getTickCount()-tick)/1000, "OutElastic")
local rh2,ry2 = interpolateBetween(2, 2,0,454, 502,0, (getTickCount()-tick)/1000, "OutElastic")
guiSetSize(test , rh2,ry2,false)
guiSetPosition(test,rh,ry, false)
end
addCommandHandler("test",
function()
tick = getTickCount()
addEventHandler("onClientRender",root,popDown)
guiSetVisible(test ,true)
end
)
test لما تكتب
تظهر اللوحة صغيرة وتكبر
غير مجرب