Вы находитесь на странице: 1из 1

local itemID = 2

function drop(i,c)
SendPacket(2, "action|drop\n|itemID|"..i)
SleepMS(250)
SendPacket(2, "action|dialog_return\ndialog_name|drop_item\nitemID|"..i.."|\
ncount|"..c)
end

function inv(id)
for _,item in pairs(GetInventory()) do
if item.id == id then return item.amount end
end
return 0
end
local function hide(var)
if var[0] == "OnDialogRequest" then
if var[1]:find("drop_item") then
LogToConsole("Script Made By dwiputra")
return true
end
end
return false
end

SendVariant({
[0] = "OnAddNotification",
[1] = "interface/atomic_button.rttex",
[2] = "Enable anti bounch and mod fly for best experiance",
[3] = "audio/hub_open.wav",
[4] = {0},
})

AddHook("OnVarlist","kontolkuda",hide)
while inv(itemID) > 0 do
if GetLocal().pos.y // 32 == 15 then
drop(itemID,1)
SleepMS(3000)
else
FindPath(48, 15)
SleepMS(1000)
end
end
RemoveHook("kontolkuda")

Вам также может понравиться