Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Saving player in MS4?
#1
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.
Reply
#2
Just add it to the player rec.
Reply
#3
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?
Reply
#4
setplayerguild(index, guildname)
saveplayer(index)
Reply
#5
So you mean to make a SetPlayerGuildName function right and have it save the guild name once it sets it?
Reply
#6
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.
Reply
#7
No, it doesn't have to save the guild name specifically. All you have to do is save the player.
Reply
#8
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. Tongue
Reply
#9
ahhh ok thanks.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)