tableCopy - Total-RP/Total-RP-3 GitHub Wiki

Recursively copy all content from one table to another

TRP3_API.utils.table.copy(destination, source)

Arguments

  • destination: table reference
  • source: source table

Example

Copy content from one table into another

local tableAPI = TRP3_API.utils.table
local destination = {}
local source = {"Ghost" = 1}

tableAPI.tableCopy(destination, source)
⚠️ **GitHub.com Fallback** ⚠️