PDA

View Full Version : need script to stop looting gold if cap is below 150 example



felipe93
03-28-2016, 07:04 PM
hello i nee this script to stop looting gold is cap is below 150
i've looking on alot of forums even here and have not found a working lua script someone could give me one?
thanks in advance

Xeno Scripts
03-28-2016, 07:17 PM
hello i nee this script to stop looting gold is cap is below 150
i've looking on alot of forums even here and have not found a working lua script someone could give me one?
thanks in advance

Maybe if you buy a license.

Jontor
03-28-2016, 09:51 PM
Module.New("", function()
if (Self.Cap() <= 150) then
Self.DropItem(Self.Position().x, Self.Position().y, Self.Position().z, "gold coin", 100)
end
end)