y = 0 local selectedSite = page1 function renderAd2() --number = number + 1 --if getElementData(localPlayer,\"adminlevel\") == 2 then -- ad = exports.global:getAdmins() dxDrawText(\"ADMINOK\" ,renderData.rectangleX+260, renderData.rectangleY +19, 286, 16, tocolor(102,255,102, 255, 255), 1.0, font2o, \"left\", \"top\", false, false, true, true, false) local vehiclesa = getElementsByType(\"player\",true) for key, value in ipairs(vehiclesa) do dxDrawText(\"\"..carname ,renderData.rectangleX+150, renderData.rectangleY+99, 286, 16, tocolor(255,255,255, 255, 255), 1.0, font12, \"left\", \"top\", false, false, true, true, false) y = y + 20 end
y = 0 local selectedSite = page1function renderAd2()--number = number + 1--if getElementData(localPlayer,\"adminlevel\") == 2 then -- ad = exports.global:getAdmins()dxDrawText(\"ADMINOK\" ,renderData.rectangleX+260, renderData.rectangleY +19, 286, 16, tocolor(102,255,102, 255, 255), 1.0, font2o, \"left\", \"top\", false, false, true, true, false)local vehiclesa = getElementsByType(\"player\",true)local count = 0;for key, value in ipairs(vehiclesa) dodxDrawText(\"\"..carname ,renderData.rectangleX+150, renderData.rectangleY+99 + (count * 16), 286, 16, tocolor(255,255,255, 255, 255), 1.0, font12, \"left\", \"top\", false, false, true, true, false)y = y + 20count = count + 1;end