#1ERuPTiON Posted June 24, 2014 Share Posted June 24, 2014 (edited) solved Edited July 4, 2014 by Guest Link to comment
#1ERuPTiON Posted June 24, 2014 Author Share Posted June 24, 2014 And what is the problem? You can't buy the rank, it's added into admin but when i click it , and when I'm the level it doesn't work .. It says "You are not the level" When i am .. I think there is problem with elementdata ... but there is no debug Link to comment
Castillo Posted June 24, 2014 Share Posted June 24, 2014 Debug it, see what "sValue" returns. Link to comment
LonelyRoad Posted June 25, 2014 Share Posted June 25, 2014 I would be inclined to agree with ^ What does sValue return if you outputChatBox or outputDebugString? I'd hazard a guess that your if statement on line 6 is not doing the correct comparison. Link to comment
#1ERuPTiON Posted June 25, 2014 Author Share Posted June 25, 2014 Debug it, see what "sValue" returns. ..Nothing Link to comment
Castillo Posted June 25, 2014 Share Posted June 25, 2014 How'd you check what it's returning? post it. Link to comment
#DRAGON!FIRE Posted June 25, 2014 Share Posted June 25, 2014 if nothing .. cheek ur level script Link to comment
#1ERuPTiON Posted June 25, 2014 Author Share Posted June 25, 2014 How'd you check what it's returning? post it. Debugscript 3 Link to comment
TAPL Posted June 25, 2014 Share Posted June 25, 2014 Debug it, see what "sValue" returns. ..Nothing You should do like this to see what it returns. outputChatBox(sValue) Link to comment
TAPL Posted June 26, 2014 Share Posted June 26, 2014 I told him on skype to replace this: if ( sValue == "Level ".. Level ) then With this: if ( tonumber(string.sub(sValue, 6)) >= tonumber(Level) ) then And tried to explain to him what the problem, but he doesn't seem to understand maybe he still in stage where it hard to understand yet. 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