OldGoldie
|
  |
| Joined: 17 Aug 2010 |
| Total Posts: 8210 |
|
|
| 25 Aug 2015 05:55 PM |
server = game.JobId ds:UpdateAsync("current_games", function(table) local logs = table for i = 1,#table do if table[i] == server then position = i print(i..":"..table[i]) end end table.remove(table, position) end) end
No output, it prints the position and the part of the table. But does not remove in datastore. ds is defined elsewhere in the script |
|
|
| Report Abuse |
|