View Full Version : gold onto platinum-> plat...
kocyk
04-21-2016, 04:42 PM
Hello,
Yes, it is in relation to OTS.
Is anyone able to make such a script?
aleryd97
04-21-2016, 08:07 PM
function useCoins(id)
local cont = Container.GetFirst()
while (cont:isOpen()) do
for spot = 0, cont:ItemCount() do
local item = cont:GetItemData(spot)
if (item.id == id) then
if (item.count == 100) then
cont:UseItem(spot, True)
sleep(500)
return true
end
end
end
cont = cont:GetNext()
end
return false
end
while (true) do
useCoins(3031)--gold
sleep(500)
useCoins(3035)--platinum
sleep(500)
end
there you go
kocyk
04-21-2016, 08:49 PM
Thx mate! :]
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.