local screenWidth, screenHeight = guiGetScreenSize()
dxDrawColorText ('#ffa500Nextmap: #ffFFff' .. g_NextMap, 2, screenHeight - dxGetFontHeight(1.7, 'default-bold')/2, 100, 100, tocolor ( 255, 255, 255, 255 ), 0.9, 'default-bold', 0.9, 'left')
if (g_MapInfo) then
dxDrawColorText ('#ffa500Map: #ffFFff' .. g_MapInfo.name, 2, screenHeight - dxGetFontHeight(3.3, 'default-bold')/2, 100, 100, tocolor ( 255, 255, 255, 255 ), 0.9, 'default-bold', 0.9, 'left')
else
dxDrawColorText ('#ffa500Map: #ffFFff- Nothing -', 2+1, screenHeight - dxGetFontHeight(3.3, 'default-bold')/2+1, 100+1, 100+1, tocolor ( 255, 255, 255, 255 ), 0.9, 'default-bold', 0.9, 'left')
end
dxDrawColorText ('#ffa500Spectators: #ffFFff' .. #Spectators .. '', 3.7, screenHeight - dxGetFontHeight(5.0, 'default-blod')/2+1, 100+1, 100+1, tocolor ( 255, 255, 255, 255 ), 0.9, 'default-bold', 0.9, 'left')
if getElementData(getLocalPlayer(),"fps") then
dxDrawColorText ('#ffa500FPS: #ffFFff' .. getElementData(getLocalPlayer(),"fps"), 1.2, screenHeight - dxGetFontHeight(6.5, 'default-bold')/2, 100, 100, tocolor ( 255, 255, 255, 255 ), 0.9, 'default-bold', 0.9, 'left')
else
dxDrawColorText ('#ffa500FPS: #ffFFff??', 1.6, screenHeight - dxGetFontHeight(6.5, 'default-bold')/2, 100, 100, tocolor ( 255, 255, 255, 255 ), 0.9, 'default-bold', 0.9, 'left')
end
end
x, y = guiGetScreenSize() --x is the width of the screen
x = x - 100 --X is now 100 Pixel from the right end of the screen.
addEventHandler("onClientRender", getRootElement(),
function ()
dxDrawColorText ('#ffa500sb#ffffffgames#ffa500.com#ffffff.br', x, y - dxGetFontHeight(250, 'default-bold')/2+1, 100, 100+1, tocolor ( 255, 255, 255, 255 ), 0.9, 'default-bold', 0.60, 'right')
end)
end