Mirage Source http://www.miragesource.net/forums/ |
|
Saving player in MS4? http://www.miragesource.net/forums/viewtopic.php?f=201&t=5018 |
Page 1 of 1 |
Author: | timster0 [ Sun Jan 25, 2009 6:49 pm ] |
Post subject: | Saving player in MS4? |
How can I make it save more things for the player in MS4? Since its not just "put var" anymore, I'm trying to make it save the players guild and Guild access, but the Save Player sub doesn't really show anything. |
Author: | Matt [ Sun Jan 25, 2009 6:53 pm ] |
Post subject: | Re: Saving player in MS4? |
Just add it to the player rec. |
Author: | timster0 [ Sun Jan 25, 2009 6:55 pm ] |
Post subject: | Re: Saving player in MS4? |
Wowz, that's simpler than I thought. I figured since it had Binary Accounts that it would be more complicated. XD Edit: but How would I make it save the name? |
Author: | Matt [ Sun Jan 25, 2009 6:59 pm ] |
Post subject: | Re: Saving player in MS4? |
setplayerguild(index, guildname) saveplayer(index) |
Author: | timster0 [ Sun Jan 25, 2009 7:02 pm ] |
Post subject: | Re: Saving player in MS4? |
So you mean to make a SetPlayerGuildName function right and have it save the guild name once it sets it? |
Author: | Matt [ Sun Jan 25, 2009 7:33 pm ] |
Post subject: | Re: Saving player in MS4? |
If you look at the setplayer* subs, you'll see that they store in the variables found in the playerrec. By saving the playerrec, it saves that variable. Simple. |
Author: | Rian [ Sun Jan 25, 2009 7:34 pm ] |
Post subject: | Re: Saving player in MS4? |
No, it doesn't have to save the guild name specifically. All you have to do is save the player. |
Author: | Matt [ Sun Jan 25, 2009 7:34 pm ] |
Post subject: | Re: Saving player in MS4? |
Rian wrote: No, it doesn't have to save the guild name specifically. All you have to do is save the player. Which saves the guild name. |
Author: | timster0 [ Mon Jan 26, 2009 2:15 am ] |
Post subject: | Re: Saving player in MS4? |
ahhh ok thanks. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |