Jump to content

How to display XP/Total survival days on the main screen?


Recommended Posts

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
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...