RekZ Posted January 29, 2017 Share Posted January 29, 2017 Like the title.. I wanted to know if there is any way to connect a table between client and server. Link to comment
Mr.Loki Posted January 29, 2017 Share Posted January 29, 2017 You can use triggerClientEvent to send a table to the client and triggerServerEvent to the server as an argument. Link to comment
RekZ Posted January 29, 2017 Author Share Posted January 29, 2017 it can cause high bandwidth consumption, sending it every time i change a data? Link to comment
Mr.Loki Posted January 29, 2017 Share Posted January 29, 2017 It depends on how big the amount of data is being transferred but try limiting the sending of the table unless its absolutely needed. What is it that you are transferring in the table? Link to comment
RekZ Posted January 29, 2017 Author Share Posted January 29, 2017 I Have a weapon system and you can have over 100 weapons for player , i use elementData but i want to optimize the code because the server lag and drop connections when there is connect 90 - 100 players Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now