Advertisement
poxipox

Untitled

Jun 19th, 2023
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.42 KB | None | 0 0
  1. if naruto then
  2.     for prinzeID, data in pairs(fakeList) do
  3.         craft_item[prinzeID] = {}
  4.         craft_item[prinzeID].prinzeID = getItemIdByClientId(prinzeID).itemId
  5.         craft_item[prinzeID].needitem = {}
  6.         for i = 1, #data.item do
  7.             table.insert(craft_item[prinzeID].needitem, {getItemIdByClientId(data.item[i][1]).itemId, data.item[i][2]})
  8.         end
  9.         if data.money then
  10.             craft_item[prinzeID].gold = data.money
  11.         end
  12.     end
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement