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

doAddContainerItem - How?

Lukanio

### Own3D ###
Joined
Nov 25, 2008
Messages
325
Reaction score
6
Witam chce funkcje ktora bedzie dodawac item do bp ktory lezy na ziemi w okreslonym miejscu.

Moj zamysl:
doAddContainerItem( getTileThingByPos({x = 1000 , y = 1000 , z = 7, stackpos = 1}).uid, REWARD, 1)

Niestety nie dziala :/ nic po prostu sie nie dzieje!

@Edit
Albo moze ktos wie jak robic Conainer na ziemi z itemkiem... tez pomoze ;-)
 
Last edited:
Powinno działać, przerób po siebie :p
Code:
local container = doCreateItemEx(boxId)
doAddContainerItem(container, itemid, itemCount)
doTileAddItem({x = 1000, y = 1000, z = 7}, container)
Jeżeli doTileAddItem nie będzie działać to spróbuj doTileAddItemEx
 
Back
Top Bottom