local AdminTell = function() end usermessage.Hook("AdminTell", function(msg, ply) timer.Remove("DarkRP_AdminTell") local Message = msg:ReadString() local Name = ply():Name() AdminTell = function() draw.RoundedBox(4, 10, 10, Scrw - 20, 110, colors.darkblack) draw.DrawNonParsedText("Announced By: " .. Name, "Default", Scrw / 2 + 10, 10, colors.white, 1) draw.DrawNonParsedText(Message, "ChatFont", Scrw / 2 + 10, 90, colors.brightred, 1) end timer.Create("DarkRP_AdminTell", 10, 1, function() AdminTell = function() end end) end)
I’ve googled multiple times searching for the answer and it seems this forum has more recognition with this problem. I decided to make an account and post in hoping to find a direct answer.
What I’m trying to do is get the name to be announced globally and not locally. I’m fairly new to Lua, so judge me all you like!
Thank you. <3
Also: It would be great if you could post how you got the solution for future references.