• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

[NPC] AddItem

Joined
May 23, 2010
Messages
185
Reaction score
23
Hi guys, i want to know how to make a npc that give you a backpack on slot ring, and in this backpack i have 3 other items X, and another backpack inside, with 1 item, can someone make it for me?
 
LUA:
local bp = doPlayerAddItem(cid, xxxx)
for _, v in ipairs({xxxx, xxxx, xxxx}) do
	doAddContainerItem(bp, v)
end
local bp2 = doAddContainerItem(bp, xxxx)
doAddContainerItem(bp2, xxxx)
 
Back
Top