From Garry's Mod
Adds all players that are in the same PVS as this position.
Adds players that are visible from the origin of the map to a recipient filter, then sends them a message.
function SendMessage() local filter = RecipientFilter() filter:AddPVS( Vector( 0, 0, 0 ) ) umsg.Start( "message", filter ) umsg.End() end
Sends a usermessage to every player visible from 0,0,0