• 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!

Lua doAddContainerItem question

Evan

A splendid one to behold
Senator
Premium User
Joined
May 6, 2009
Messages
7,019
Solutions
1
Reaction score
1,029
Location
United States
How do I make it so it adds more than one item to the container?

Lua:
doAddContainerItem(doPlayerAddItem(cid, 1988, 1), 2674, 1)
 
Lua:
local container = doPlayerAddItem(cid, 1988, 1)
doAddContainerItem(container, 2674, 1)
doAddContainerItem(container, 2675, 1)
 
Ah, okay, that can work, I was thinking something like the NPCs where you can add a ; between every item.

Thanks
 
Back
Top