示例#1
0
 public override void onPlayerPreLogin(PlayerLoginEvent Event)
 {
     Event.setCancelled(false);
 }
示例#2
0
        public override void onPlayerJoin(PlayerLoginEvent Event)
        {
            int nPlayerIndex = Event.getPlayer().whoAmi;

            MyPlayer oPlayer = new MyPlayer(nPlayerIndex);

            Players[nPlayerIndex] = oPlayer;

            Event.setCancelled(false);
        }