Quantcast
WoWInterface - View Single Post - help with table (savedvariabiles)
View Single Post
05-26-18, 08:36 PM   #2
Rainrider
A Firelord
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 453
tinsert is for arrays only.

lua Code:
  1. local data = {}
  2.  
  3. local map, npc = a, 1
  4.  
  5. data[map] = data[map] or {}
  6. data[map][npc] = 1.1
  7. npc = 2
  8. data[map][npc] = 1.2
  Reply With Quote