public void ServerSpawn(InGameNetworkBehaviour s)
        {
            server = s;

            if (VehiclePrefabs.Count > 0)
            {
                var vehicleSpawns = FindObjectsOfType <VehicleSpawn>().ToList();
                vehicleSpawns.ForEach(spawn =>
                {
                    var vehicle_index = Random.Range(0, VehiclePrefabs.Count);
                    var v             = VehiclePrefabs[vehicle_index];
                    var vBehaviour    = v.GetComponent <VehicleShootBehaviour>();
                    vBehaviour.OnSpawn(server);
                    server.Spawn(v, spawn.transform.position, spawn.transform.rotation); //SPAWN THE VEHICLE
                });
            }

            if (ItemPrefabs.Count > 0)
            {
                var itemSpawns = FindObjectsOfType <ItemSpawn>().ToList();
                itemSpawns.ForEach(spawn =>
                {
                    var item_index = Random.Range(0, ItemPrefabs.Count);
                    server.Spawn(ItemPrefabs[item_index], spawn.transform.position, spawn.transform.rotation);
                });
            }

            var doors = FindObjectsOfType <DoorSpawn>().ToList();

            doors.ForEach(door =>
            {
                var door_behaviour = door.GetComponent <DoorBehaviour>();
                door_behaviour.SpawnButtons();
            });
        }
        public void Spawn()
        {
            if (server != null)
            {
                if (server.isServer)
                {
                    if (VehiclePrefabs.Count > 0)
                    {
                        var vehicleSpawns = FindObjectsOfType <VehicleSpawn>().ToList();
                        vehicleSpawns.ForEach(spawn =>
                        {
                            var vehicle_index = Random.Range(0, VehiclePrefabs.Count);
                            server.Spawn(VehiclePrefabs[vehicle_index], spawn.transform.position, spawn.transform.rotation); //SPAWN THE VEHICLE
                        });
                    }

                    if (ItemPrefabs.Count > 0)
                    {
                        var itemSpawns = FindObjectsOfType <ItemSpawn>().ToList();
                        itemSpawns.ForEach(spawn =>
                        {
                            var item_index = Random.Range(0, ItemPrefabs.Count);
                            server.Spawn(ItemPrefabs[item_index], spawn.transform.position, spawn.transform.rotation);
                        });
                    }

                    var doors = FindObjectsOfType <DoorSpawn>().ToList();
                    doors.ForEach(door =>
                    {
                        var door_behaviour = door.GetComponent <DoorBehaviour>();
                        door_behaviour.SpawnButtons();
                    });
                }
            }
        }