#how tf do u do server shit

24 messages · Page 1 of 1 (latest)

restive sundial
#

depends how you mean "store"
just for the game
or Datastore?

mild needle
#

HELp

mild needle
restive sundial
#

you could use a table for that

mild needle
#

ITS PRINTING THIS AND NOW IT TAKEN CONTROL OF MY MOUSE

restive sundial
#

you can just overwrite the old one

local tab = {}

-- add thing
tab[key] = data

-- if you dont need a key you can also do
table.insert(tab, data)

-- clear it
table.clear(tab) or tab = {}

-- to access you can do
local data = tab[key]
-- if you dont used a key then the key is a number, 
-- you can also use a for loop
mild needle
#

HELPPPPPPPPPPPPPPPPPPPPPPPPPPP

restive sundial
mild needle
#

BUT IM SERIOUS

#

DISCORD IS SUPPOSED TO BE A PLACE TO HANGOUT AND I GET THIS

#

I SUE DISCORD FOR FALSE ADVERTISING

restive sundial
#

kinda depends how you use the table
but it is possible
you just need an identifier for every game,
like an ID
but you can also just use table.insert
that will just add it at the end

restive sundial
#

and table[key] = nil to delete an match

#

or better table.remove(key) thats better

restive sundial
#

otherwise there is a "hole" in the table

restive sundial
mild needle
lapis sparrowBOT
#

studio** You are now Level 13! **studio