Garry's Mod Wiki

gameevent

Methods

gameevent.Listen( string eventName )
Adds a game event listener, creating a new hook using the hook library, which can be listened to via hook. Add with the given eventName as event. List of valid events can be found here.