Kenix Posted January 6, 2011 Share Posted January 6, 2011 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
Castillo Posted January 6, 2011 Share Posted January 6, 2011 this is not my script, you did a mess with it. Link to comment
Kenix Posted January 6, 2011 Author Share Posted January 6, 2011 this is not my script, you did a mess with it. lol i use server side your script Link to comment
Aibo Posted January 6, 2011 Share Posted January 6, 2011 you're passing no arguments to the function, you dont even use source. and guiSetText Link to comment
Kenix Posted January 6, 2011 Author Share Posted January 6, 2011 you're passing no arguments to the function, you dont even use source.and guiSetText thanks a lot Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now