Jump to content

[Help] setElementData


Rutex

Recommended Posts

when setElementData stores the data on the player and allows them to use after reconnect the player? I heard that this is possible.

p.s. if someone didn't understand what I'm talking about - using set\getElementData instead set\getAccountData

Link to comment

There's element data and account data.

The element data is lost when the element is deleted. A player element for example is deleted when the player disconnects.

Account data is, like the name implies - tied to their account. So long as the player uses the same account, the data will be available if the player reconnects or whatnot.

setAccountData 
getAccountData 

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...