Пример #1
0
 /////////////////////////////////////////////////////////////////////////////////
 // Spawn system (Spawn our char to others).
 /////////////////////////////////////////////////////////////////////////////////
 void ObjectPlayerSpawn(PlayerMgr s)
 {
     try
     {
         if (!s.Character.Spawned(Character.Information.UniqueID) && Character.Information.UniqueID != 0 && !s.Character.Spawning)
         {
             //We loop the spawn check for the player that needs it.
             s.ObjectSpawnCheck();
         }
     }
     catch (Exception ex)
     {
         Console.WriteLine("Object player spawn error {0}", ex);
         Log.Exception(ex);
     }
 }
 /////////////////////////////////////////////////////////////////////////////////
 // Spawn system (Spawn our char to others).
 /////////////////////////////////////////////////////////////////////////////////   
 void ObjectPlayerSpawn(PlayerMgr s)
 {
     try
     {
         if (!s.Character.Spawned(Character.Information.UniqueID) && Character.Information.UniqueID != 0 && !s.Character.Spawning)
         {
             //We loop the spawn check for the player that needs it.
             s.ObjectSpawnCheck();
         }
     }
     catch (Exception ex)
     {
         Console.WriteLine("Object player spawn error {0}", ex);
         Log.Exception(ex);
     }
 }