Jump to content

Shared tables


mommytellme

Recommended Posts

Posted

Hello! Sorry for my English. I have a big problem. I need to use the array from the server to the client. The point is that there was one common board for everyone, but you can make changes in it from the client-side. How to do it?

Posted

Use triggerServerEvent and triggerClientEvent to send data back and forth between server and client, or you can store the table as JSON (toJSON/fromJSON) on an element and use setElementData which synchronizes.

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