Exemple #1
0
 //Chat hook system
 public override bool ChatMessage(ClientInfo _cInfo, EnumGameMessages _type, string _message, string _playerName, bool _localizeMain, string _secondaryName, bool _localizeSecondary)
 {
     if (_message.ToLower().Equals("nightmare"))
     {
         Nightmare.SpawnNightmareOnPlayer(_cInfo);
         return(false);
     }
     return(true);
 }
Exemple #2
0
 //When game wakes up
 public override void GameAwake()
 {
     Nightmare.Load();
 }
Exemple #3
0
 //When game shuts down
 public override void GameShutdown()
 {
     Nightmare.Unload();
 }