![]() |
Saving player in MS4? - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17) +---- Thread: Saving player in MS4? (/showthread.php?tid=2527) |
Saving player in MS4? - timster0 - 25-01-2009 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. Re: Saving player in MS4? - Matt - 25-01-2009 Just add it to the player rec. Re: Saving player in MS4? - timster0 - 25-01-2009 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? Re: Saving player in MS4? - Matt - 25-01-2009 setplayerguild(index, guildname) saveplayer(index) Re: Saving player in MS4? - timster0 - 25-01-2009 So you mean to make a SetPlayerGuildName function right and have it save the guild name once it sets it? Re: Saving player in MS4? - Matt - 25-01-2009 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. Re: Saving player in MS4? - Rian - 25-01-2009 No, it doesn't have to save the guild name specifically. All you have to do is save the player. Re: Saving player in MS4? - Matt - 25-01-2009 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. ![]() Re: Saving player in MS4? - timster0 - 26-01-2009 ahhh ok thanks. |