local file = fileOpen("rules.txt", true)
local sx, sy = guiGetScreenSize( )
if file then
Read = fileRead(file, fileGetSize(file))
end
fileClose(file)
addCommandHandler("rules", function( )
func = rules and removeEventHandler or addEventHandler
func("onClientRender", root, render)
rules = not rules
end)
function render( )
if Read then
dxDrawText(Read , left, top)
end
end