addEventHandler ( 'onClientGUIClick' , GUIEditor.button[3] ,
function ( )
local Text = guiGetText ( GUIEditor.edit [ 1 ] )
if ( Text ~= '' ) then
local Render = function ( )
dxDrawRectangle ( 0 , 551 , 800 , 39 , tocolor ( 0 , 0 , 0 , 159 ) , false )
dxDrawText ( Text , 0 , 551 , 800 , 586 , tocolor ( 255 , 255 , 255 , 255 ) , 2.20, 'sans' , 'center' , 'center' , false , false , false , false , false )
end
return ( playSoundFrontEnd ( 30 ) and addEventHandler ( 'onClientRender' , root , Render ) and
setTimer ( function ( ) removeEventHandler ('onClientRender' , root , Render )
end , 5000 , 1 ) )
end
end , false )