addEventHandler ( "onClientRender" , root , function ( )
dxDrawRectangle ( 400 , 200 , 200 , 20 )
end )
addEventHandler ( "onClientClick" , root , function ( button , state )
if ( button == "left" and state == "up" ) then
if ( isMouseInPosition ( 400,200,200,20 ) ) then
outputChatBox("done")
end
end
end )
شغال معي