for i=1, actionSlot do
bindKey(i, \"down\", function()
if(getElementData(getLocalPlayer(), \"disableInventory\") or false)then return end
if isTimer(timer) then return end
timer = setTimer(function() end, 1000, 1) --- spam védelem
if(item_cache_action and item_cache_action[1]>-1 and hasItemPlayer(item_cache_action[1]))then
useItem(getItems(getLocalPlayer())[item_cache_action[1]][1], item_cache_action[1], getItems(getLocalPlayer())[item_cache_action[1]][2], getItems(getLocalPlayer())[item_cache_action[1]][3], getItems(getLocalPlayer())[item_cache_action[1]][4])
end
end)
probáld ki valami hasonlóval.