The below section of code, that deals with the creation of new ranks etc, permanently blurs my screen, and puts the message box for Inherritance up in top left of screen, inaccessible to click on.
Only way to fix blur, is to rejoin server.
[code]self.NewButton.DoClick = function()
Derma_StringRequest( "Create a rank", "Enter the title of your rank (e.g. Noob):", "", function( title )
Derma_StringRequest( "Create a rank", "Enter the id of your rank (e.g. noob):", string.gsub( string.lower( title ), " ", "" ), function( id )
if ( string.find( id, " " ) or string.lower( id ) != id or evolve.ranks[ id ] ) then
chat.AddText( evolve.colors.red, "You specified an invalid identifier. Make sure it doesn't exist yet and does not contain spaces or capitalized characters." )
else
local curRank = self.RankList:GetSelectedItems()[1].Rank
Derma_Query( "Do you want to derive the settings and privileges of the currently selected rank, " .. evolve.ranks[ curRank ].Title .. "?", "Rank inheritance",
"Yes",
function()
RunConsoleCommand( "ev_createrank", id, title, curRank )
end,
"No",
function()
RunConsoleCommand( "ev_createrank", id, title )
end
)
end
end )
end )
end
[/code]