Mam problem i? ?aduje akcje "main" lecz po kliknieciu przycisku od akcji "register" ?aduje strone, lecz nic sie na niej nie wy?wietla ( opr?cz tego, co nie ma przypisanej ?adnej akcji ), macie mo?e jakie? pomys?y?[lua]local action = "main"
-- <-- LOGIN RENDER-- >
function render()
Fog:setFogRectangleColor(159, 159, 159, 9)
dxDrawImage(pos["bg"].x, pos["bg"].y, pos["bg"].w, pos["bg"].h, textures["bg"])
local anim_log = interpolateBetween(-400, 0, 0, 0, 0, 0,(getTickCount()-tick)/1000, "OutQuad")
local anim_reg = interpolateBetween(400, 0, 0, 0, 0, 0,(getTickCount()-tick)/1000, "OutQuad")
setTimer(function()
animation = false
end, 1000, 1)
Fog:renderFogRectangle(pos["bg"].x, pos["bg"].y, pos["bg"].w, pos["bg"].h, false)
if action == "main" then
dxDrawImage(pos["button_reg"].x + anim_reg, pos["button_reg"].y, pos["button_reg"].w, pos["button_reg"].h, textures["button_reg_off"])
dxDrawImage(pos["button_log"].x + anim_log, pos["button_log"].y, pos["button_log"].w, pos["button_log"].h, textures["button_log_off"])
if not animation then
if isMouseIn(pos["mLog"].x, pos["mLog"].y, pos["mLog"].w, pos["mLog"].h) then
dxDrawImage(pos["button_log&... |