Ejemplo n.º 1
0
        public void aCMD_CreateDoor(Client player, int price = 50000)
        {
            if (!Utility.isPlayerAdmin(player))
            {
                return;
            }

            if (price < 50000)
            {
                return;
            }

            DoorManager.CreateDoor(player, price);
            API.sendChatMessageToPlayer(player, "Door created.");
        }