Im making this thread with hesitance since my most answers go along the line of "editing DarkRP is for script skids" or another toxic line. So before i start i want to say that this is being done privately and i will be crediting the maker fully. That out of the way, does anyone know how to edit the notification system? In the clients console when they get payed or receive a notification it always says "DarkRP" next to it, how can i change this since my server is not a darkrp?
modules/hud/cl_hud.lua contains this snippet at line 371 that you could edit:
local function DisplayNotify(msg)
local txt = msg:ReadString()
GAMEMODE:AddNotify(txt, msg:ReadShort(), msg:ReadLong())
surface.PlaySound("buttons/lightswitch2.wav")
-- Log to client console
MsgC(Color(255, 20, 20, 255), "[DarkRP] ", Color(200, 200, 200, 255), txt, "\n")
end
usermessage.Hook("_Notify", DisplayNotify)
Thanks for the help!
Sorry, you need to Log In to post a reply to this thread.