Advertisement
Guest User

Untitled

a guest
Nov 21st, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.48 KB | None | 0 0
  1. --Im trying to insert a players steamid into a table without overwriting the players already in the table. Im not sure how I would approach this:
  2.  
  3. --Index is just the placement of the table in the TP.PROJECTLIST table.
  4.  
  5. table.insert(TP.PROJECTLIST,{
  6.     projectName = projectName,
  7.     projectProgress = projectProgress,
  8.     projectDeadline = projectDeadline,
  9.     projectTeam = projectTeam,
  10.     projectMembers = table.insert(TP.PROJECTLIST[index]["projectMembers"],LocalPlayer():SteamID()),
  11. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement