WolfPire Posted November 12, 2012 Posted November 12, 2012 So i've been trying like all the ways to do it but it's impossible. Is there anyway to retrieve "levelname" node (from the levels.xml)? (Note that even if i try to edit it, the script is compiled, so no way i'm editing that) I'm trying to output in a label the level name of a player, but it will just output the number of the level. Yes, i'm talking about the "exp_system" Thanks in advance. - WolfPire
Castillo Posted November 13, 2012 Posted November 13, 2012 Is not possible, if you want, I can add a function so you can get the name of a level.
WolfPire Posted November 14, 2012 Author Posted November 14, 2012 Is not possible, if you want, I can add a function so you can get the name of a level. That'll be amazing. It was kind of awesome that you could set the experience level throught the .xml . But it would be even way more cooler if you could set level's name. So yeah, if you could, that function would be awesome in case you want to use ranks of some sort of thing like that - WolfPire
Castillo Posted November 14, 2012 Posted November 14, 2012 Ok, I uploaded it with the function: getLevelData, you can find what it does here: https://wiki.multitheftauto.com/wiki/Resource:Exp_system
WolfPire Posted November 14, 2012 Author Posted November 14, 2012 (edited) Ok, I uploaded it with the function: getLevelData, you can find what it does here:https://wiki.multitheftauto.com/wiki/Resource:Exp_system Thanks man! Edit: Wouldn't that return some sort of table? and work like getRealTime ? Edited November 14, 2012 by Guest
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