Real Police Stream for Cop Cars / Military Vehicles

Started by gta5, Oct 01, 2021, 02:41 AM

Previous topic - Next topic

gta5

Hi guys, today I'll share a simple snippet that will let you listen to a live real police radio feed.

First Create the radio stream:

onScriptLoad()

CreateRadioStream(11, "Fresno Police", "https://broadcastify.cdnstream1.com/13549", true);

Second, add some code to onPlayerEnterVehicle

if (GetVehicleNameFromModel(vehicle.Model) == "Police" || GetVehicleNameFromModel(vehicle.Model) == "Enforcer" || GetVehicleNameFromModel(vehicle.Model) == "FBI Rancher"
            || GetVehicleNameFromModel(vehicle.Model) == "Rhino" || GetVehicleNameFromModel(vehicle.Model) == "Hunter" || GetVehicleNameFromModel(vehicle.Model) == "Vice Squad Cheetah"
            || GetVehicleNameFromModel(vehicle.Model) == "Ambulance" || GetVehicleNameFromModel(vehicle.Model) == "Firetruck") {
        vehicle.Radio = 11;

    }

Easy!


Result below, nowadays the stream is a bit louder and easier to hear.

https://www.youtube.com/watch?v=npHWQ5QhrU8