Advertisement
poxipox

Untitled

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