Hey, i have this code, of the example in the dxDrawCircle wiki page:
local screenWidth, screenHeight = guiGetScreenSize( )
local stopAngle = 0
addEventHandler( "onClientRender", root,
function( )
if ( stopAngle < 360 ) then
stopAngle = stopAngle + 5
else
stopAngle = 0
end
dxDrawCircle( screenWidth / 2, screenHeight / 2, nil, nil, nil, nil, stopAngle )
end
)
And it return me "attempt to call global 'dxDrawCircle' (a nil value)" i don't understand why