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

Lua How do i fetch correct from my array to my doCreateItem?

Mjmackan

Mapper ~ Writer
Joined
Jul 18, 2009
Messages
1,477
Solutions
18
Reaction score
195
Location
Sweden
Hey, i have an issue trying to create the item after the =
waterIds = {[2712] = 8788, [2700] = 8785, [2701] = 6431, [2702] = 6432, [2708] = 8792, [2711] = 8786},
Trying something like:
doCreateItem(itemEx.uid,config.waterIds[itemEx.itemid])
But it wont work, how does doCreateItem work? Can someone explain?
 
Back
Top