addEventHandler ( "onClientResourceStart" , resourceRoot , function ( )
wnd = guiCreateWindow ( 413, 103, 544, 596, "", false )
triggerServerEvent ( "getServer:Name" , localPlayer )
end )
addEvent ( "setServer:Name" , true )
addEventHandler ( "setServer:Name" , root , function ( name )
guiSetText ( wnd , tostring ( name ) )
end )
--- Server
addEvent ( "getServer:Name" , true )
addEventHandler ( "getServer:Name" , root , function ( )
triggerClientEvent ( source , "setServer:Name" , source , getServerName ( ) )
end )