Xeno Posted December 20, 2011 Share Posted December 20, 2011 How would I save memo data for the next time a player joined the server? So say if a check box was ticked, the data would save for the next time the player logged on guiCreateMemo(17,79,414,246,"",false,Window) local checkedBox = guiCreateCheckBox(20,30,150,20,"Checked checkbox",true,false,guiWindow) Please could you help me? Link to comment
bandi94 Posted December 20, 2011 Share Posted December 20, 2011 1. save on Account but then the player need to log in and after you can get the info from account use this if the player need to log in to can see the window 2. save in xml file and then when player join to the server you can get the info from the xml use this is the player don't need to log in to see the window Link to comment
Xeno Posted December 20, 2011 Author Share Posted December 20, 2011 Thanks. And how would I move data from one memo into another memo...? So I have one memo and say on guiClick I would want the memo text to be implanted into another memo. Link to comment
NotAvailable Posted December 20, 2011 Share Posted December 20, 2011 guiGetText guiSetText setAccountData getAccountData onPlayerLogin onPlayerQuit Link to comment
NotAvailable Posted December 20, 2011 Share Posted December 20, 2011 Thank you. LUA is simple to understand, you only gotta figure it out... Link to comment
Xeno Posted December 20, 2011 Author Share Posted December 20, 2011 Thank you. LUA is simple to understand, you only gotta figure it out... I'm a noob though, my brain capacity to understand these things is 0. Link to comment
NotAvailable Posted December 21, 2011 Share Posted December 21, 2011 Thank you. LUA is simple to understand, you only gotta figure it out... I'm a noob though, my brain capacity to understand these things is 0. It's just a matter of time. Don't rush, take your time. 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