tabela = {{x = 300, y = 300}}
addEventHandler('onClientRender', root, function()
for key, value in ipairs(tabela) do
dxDrawRectangle(value.x, value.y, 300, 300, tocolor(0, 0, 0, 255))
if isMouseOn(value.x, value.y, 300, 300) then
if getKeyState('mouse1') then
cursorx, cursory = getCursorPosition()
xx, yy = cursorx * 1920, cursory * 1080
value.y = yy
end
end
end
end)