SamLogan Posted May 3, 2014 Share Posted May 3, 2014 Hello, I'd like to make a mod that allow to display our total XP points and the total survival days under Wilson on the main screen. Can you help me, please. Link to comment https://forums.kleientertainment.com/forums/topic/35857-how-to-display-xptotal-survival-days-on-the-main-screen/ Share on other sites More sharing options...
wlayton27 Posted May 5, 2014 Share Posted May 5, 2014 Love the idea, I think you should try enlisting simplex for help. He already put out a mod that adds custom buttons to the mod selection screen ("Autoupdate disabled"). It would help out a lot if you could specify what you need help on exactly. Me, I can't even figure out how to retrieve the player profile's XP level. All I got so far was a function:function c_test() local xp = GetPlayer().persistdata.xp --[[ ?? Just pulling names out of a hat here Says "attempting to index a nil value --]] if stats ~= nil then print(stats) else print('0') endend Link to comment https://forums.kleientertainment.com/forums/topic/35857-how-to-display-xptotal-survival-days-on-the-main-screen/#findComment-470625 Share on other sites More sharing options...
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