• 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 Script sacrifice - send an item to player's backpack

Larb

New Member
Joined
Nov 26, 2016
Messages
85
Reaction score
1
hello i find this script, he it's great, but i need he send the reward to player backpack


thanks in advanced
 
hello i find this script, he it's great, but i need he send the reward to player backpack


thanks in advanced
change
Lua:
Game.createItem(itensUpgrade[targetItem].result, 1, newItemPos:getPosition()) --create the new item
for
Lua:
player:addItemitensUpgrade[targetItem].result, 1, true)

This will attempt to place the item in the players inventory.
If the player has no capacity or no inventory space, it will fall on the ground under the player.
 
Back
Top