Jump to content

n0body

Members
  • Posts

    4
  • Joined

  • Last visited

n0body's Achievements

Vic

Vic (3/54)

0

Reputation

  1. Do i need to add the *.css, *.js files to the meta.xml ? I am using a local browser ...
  2. My plan was update the element data sometimes, i'll try to use events to reduce the amount of element datas, thanks for the information
  3. I know that element datas generate a lot of network traffic, but i need to sync (many) things with the clients. Lets say that i have 20 element datas (that's not the actual number, just an example) setElementData ( player, "data1", ... ); setElementData ( player, "data2", ... ); setElementData ( player, "data3", ... ); setElementData ( player, "data4", ... ); ... This can cause issues, but what if i do something like this: table = { ["data1"] = "x", ["data2"] = "y"; -- etc } setElementData ( player, "data", toJSON ( table ) ); Is this possible ? Is it effective ? If yes there's a limit regarding the string lenght ? Hope that someone can answer my questions
×
×
  • Create New...