Hey, again
I currently am using an undercover command that I got off these forums (thanks for that), but I want to add something on to it, and I'm not sure how I would do that.
Here's the code for the command so far
// Undercover Command
function ulx.undercover( calling_ply )
if calling_ply:IsUserGroup("owner") then
calling_ply:SetUserGroup("ucowner")
elseif calling_ply:IsUserGroup("ucowner") then
calling_ply:SetUserGroup("owner")
end
ulx.fancyLogAdmin( calling_ply, true, "#A went undercover" )
end
local undercover = ulx.command( CATEGORY_NAME, "ulx undercover", ulx.undercover, "!uc", true )
undercover:defaultAccess( ULib.ACCESS_ADMIN )
undercover:help( "Makes Owner undercover (no Owner tag)" )
// Undercover Command
I want to make it so it not only changes my rank, but it also changes the username it displays when I type a message and in the tab list.
This might be harder than it sounds to me, but I'm not sure.
Anyone know what to do?