C# Class GarrysModLuaShared.gameevent

Used to interface with the built in game events system.
Show file Open project: OmegaExtern/gmod-csharp-binary-module

Public Methods

Method Description
Listen ( LuaState luaState, string eventName ) : void

Add a game event listener.

Method Details

Listen() public static method

Add a game event listener.
public static Listen ( LuaState luaState, string eventName ) : void
luaState LuaState Pointer to lua_State struct.
eventName string The event to listen to, travels through hooks with eventName as event. /// /// List of valid events can be found . ///
return void