Either idk what is wrong or something but heres the code
function dxDrawSpawner()
dxDrawRelativeLine(565 - 1, 500 - 1, 565 - 1, 717, tocolor(1, 0, 0, 255), 1, false)
dxDrawRelativeLine(816, 500 - 1, 565 - 1, 500 - 1, tocolor(1, 0, 0, 255), 1, false)
dxDrawRelativeLine(565 - 1, 717, 816, 717, tocolor(1, 0, 0, 255), 1, false)
dxDrawRelativeLine(816, 717, 816, 500 - 1, tocolor(1, 0, 0, 255), 1, false)
dxDrawRelativeRectangle(565, 500, 251, 217, tocolor(0, 0, 0, 116), false)
dxDrawRelativeLine(565, 529, 816, 529, tocolor(255, 255, 255, 255), 1, false)
dxDrawRelativeText("VEHICLES", 564, 499, 816, 529, tocolor(255, 255, 255, 255), 1.00, dxfont0_vel, "center", "center", false, false, false, false, false)
dxDrawRelativeRectangle(579, 533, 227, 29, tocolor(98, 98, 98, 111), false)
dxDrawRelativeText(" Key: Vehicle Name:", 579, 533, 806, 562, tocolor(255, 255, 255, 255), 1.10, dxfont1_KOMIKAX, "left", "center", false, false, false, false, false)
dxDrawRelativeText("Press 'M' to show cursor", 565, 718, 816, 753, tocolor(255, 0,0, 236), 1.00, dxfont2_KOMIKAX, "center", "center", false, false, false, false, false)
for i, k in ipairs(vehs) do
dxDrawRelativeRectangle(579, 541+i*21, 227, 21, isMouseInPosition(579, 541+i*21, 227, 21) and tocolor(0, 0, 0, 200) or tocolor(0, 0, 0, 75))
dxDrawRelativeText(i, 579, 541+i*21, 625, 562+(i)*21, tocolor(255, 255, 255, 255), 1, dxfont3_KOMIKAX, "center", "center", false, false, false, false, false)
dxDrawRelativeText(getVehicleNameFromModel ( tonumber (k)), 635, 541+i*21, 806, 562+(i)*21, tocolor(255, 255, 255, 255), 1.10, dxfont3_KOMIKAX, "center", "center", false, false, false, false, false)
end
end
Check the loop.. there is where it all starts..
trying to put 7 vehicles on each page only 7