Jump to content

help please onClientElementDataChange


Kenix

Recommended Posts

script not work :(

i use exp_system Solidsnake14

  
local x,y = guiGetScreenSize() 
  
local LEVELS = 0 
local EXPS = 0 
local nextlevel = 0 
  
  
addEventHandler( 'onClientElementDataChange', getRootElement(), 
  function() 
EXPS = exp  
LEVELS = levels[lvl][1] 
nextlevel = levels[lvl][2] 
    if(isElement(expl))then destroyElement(expl) destroyElement(expshadow) end 
    expshadow = guiCreateLabel(x*0.80+1,y*0.01+1,x,15,"уровень: "..LEVELS.." ("..EXPS.." / "..nextlevel..")",false) 
    expl = guiCreateLabel(x*0.80,y*0.01,x,15,"уровень: "..LEVELS.." ("..EXPS.." / "..nextlevel..")",false) 
    guiLabelSetColor (expshadow, 0,0,0) 
end) 
  

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