Do a search for InstallGameRules() to see where Valve uses it in their code (namely hl2_client.cpp, hl2mp_client.cpp). This function is called when the World entity precaches itself (CWorld) which is created when the level loads. The Game Rules are actually an entity in your level, but unlike other entities it is not placed there by the mapper, but it is placed by the code itself and shared between Client and Server.
Several types of Game Rules exist in the SDK, namely: Teamplay, RoundBased_Teamplay, Multiplayer, SinglePlayer, and the base GameRules which defines all the utility functions and basic interactions (all gamerules inherit this base). You can either create your own gamerules and inherit from teamplay, roundbased, etc. depending on your game play type, or modify the existing ones and make sure your definition of InstallGameRules() installs the one you want to use. Best of luck! Jonathan _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

