Jump to content

server variables help?


SirniNamaz

Recommended Posts

If you create a variable in the server, it won't be synced unless you script the syncing yourself. If you want an easy way to sync the data, use these functions:

setElementData 
getElementData 

You can set the data of some element from the server or any client and that data will be synced for everyone.

Link to comment

If you don't want to use it on the player element, then don't. I never told you to use it on players. There are other elements, such as root, resourceRoot. You can also create your own abstract element using createElement function and then store the data to that element.

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...