PDA

View Full Version : Pick up from ground



kendinal
01-10-2016, 09:18 PM
Hiho,
as the title says, I need a lua script, that picks up items from the ground, like gold coins.

I already checked the forum for it, couldn't find something.
Thanks


greets Chris

Jetta
01-10-2016, 11:31 PM
https://www.dropbox.com/s/c3mqop34ilpbr4k/Pick%20up.lua?dl=0

just add the ids u want and the backpack.

kendinal
01-19-2016, 08:53 PM
Hey,
there must be somewhere a error, becouse it will always put the cash in the second backpack.
It doesn't mind if you change the backpack name tho.

Maybe you can check it out again.
thanks so far :)


Greets Chris

kendinal
01-20-2016, 12:36 PM
Bump!

Jontor
01-20-2016, 07:24 PM
Bump!

Change


Map.PickupItem(Self.Position().x+x, Self.Position().y+y, Self.Position().z, 1, 0)


to


Map.PickupItem(Self.Position().x+x, Self.Position().y+y, Self.Position().z, Container.Index(containerName), 0)