SetOverlayText not working

Hey, im trying to give my entity a little pop-up box when you look at it, as most LS ents have. I’m using ‘self:SetOverlayText(“text”)’ to do it however this just spams my console with:


attempt to call method 'SetOverlayText' <a nil value>

I got the command off http://wiki.garrysmod.com/?title=LUA:RD2Entity so im pretty sure that the command itself exists, unless of course it is specific to LS/RD however im not sure. Any help fixing this would be greatly apreciated. :smiley: