GM:OnReloaded not working

Hey guys! I’m trying to make a notification for players when the gamemode reloads so they know its not a super big lagspike. I made this code but it doesn’t work but I don’t see errors in SRCDS or the client at all. Heres my code:



function GM:OnReloaded()
	GAMEMODE:Notify(ply, 1, 4, "Gamemode refreshed")
end


Have you tried like the first step of debugging anything: print(“test”) in that hook?

Yes, that didnt work either.

Try this just to see if you get any results at all, even know it might seem like a dumb idea:

[lua]
hook.Add( “OnReloaded”, “Test”, function()
print( “test” )
end )
[/lua]