So currently I have a couple tables that need to be defined serverside because they set prices/amounts for buying in game items.
I have the tables created on the shared file. On the client, the tables are looped through and then the information is displayed in a DList. This works, however aren’t clients able to somehow change the prices through clientside scripts/injecting things if the var’s are also defined clientside as well as serverside( in a shared file )?
I might just be paranoid but it’s better to be safe then sorry.
If it’s not clear, my question is how would I send each table to the client and then loop through it?
Is net.WriteTable a valid option?
[editline]24th February 2016[/editline]
Solved. I simply used net.WriteTable to send the table to the client from the server.