Sign in to follow this  
draobrehtom

[REL] Police radio sounds - hotkeys system

Recommended Posts

Hi guys.

One year ago I was start developing "Police radio hotkey system" based on original police radio sound from gta.
In GTA:SA it's based on parts of different sound packs, relative to player situation (state). Now, I will found my resource and don't want do develop it (have no time), but You can.

Usage. For example, I ride on black Bravura vehicle form East Los Santos and shoot to people - POLICE RADIO: "37 in" + "dark" + "four door" + " + "suspect last seen" + "east Los Santos". And so on. As you understood, you can use this sound to make custom radio message for other cops on your server by binding buttons or making some Radial System, Idk. This code not so clear, but you can understand him.

Fork project, develop him and do what you want. Script is very easy, but I spent some time to found this police sounds.

List of sounds. Full code on Github: https://github.com/draobrehtom/mta-police-radio

 

local p = 	
{
	--Place names for crime reports--
	citiHall = {0, 19, "Citi Hall"},
	downTownLosSantos = {0, 27, "downtown Los Santos"},
	eastLosSantos = {0, 28, "east Los Santos"},
	losSantos = {0, 86, "Los Santos"},
	sanFierro = {0, 168, "San Fierro"},
	--//--

	--Vehicle colors for crime reports--
	dark = {1, 6, "dark"},
	light = {1, 10, "light"},
	red = {1, 12, "red"},
	green = {1, 8, "green"},
	blue = {1, 1, "blue"},
	custimized = {1, 5, "custimized"},
	--//--

	--Directions for crime reports--
	aCenteral = {2, 0, "a centeral"},
	east = {2, 1, "east"},
	north = {2, 2, "north"},
	south = {2, 3, "south"},
	west = {2, 4, "west"},
	--//--

	--Locations for crime reports--
	canYouATen = {3, 0, "can you a ten"},
	inA = {3, 1, "in a"},
	inWater = {3, 2, "in water"},
	onA = {3, 3, "on a"},
	onFoot = {3, 4, "on foot"},
	respondYourATen = {3, 5, "respond your a ten"},
	suspectInWater = {3, 6, "suspect in water"},
	suspectLastSeen = {3, 7, "suspect last seen"},
	weGotATen = {3, 8, "we got a ten"},
	--//--

	--10-code pieces for crime reports--
	code70in = {4, 0, "70 in"}, -- prowler (wor) or fire			[10]
	code21in = {4, 1, "21 in"}, -- telephone						[9]
	code24in = {4, 2, "24 in"}, -- assigment complied				[4]
	code29in = {4, 3, "29 in"}, -- check for wanted					[5]
	code34in = {4, 4, "34 in"}, -- riot								[8]
	code37in = {4, 5, "37 in"}, -- investigate, suspicios vehicle 	[1]
	code7in = {4, 6, "7 in"},	-- out of service					[5]
	code71in = {4, 7, "71 in"}, -- shooting							[2]
	code61in = {4, 8, "61 in"}, -- personnel in areas				[7]
	code90in = {4, 9, "90 in"}, -- alarm at a __					[6]
	code91in = {4, 10, "91 in"}, -- hazard							[3]
	--aTen = {4, 11, "a 10-"},
	--aTen = {4, 12, "a 10-"},
	--aTen = {4, 13, "a 10-"}
	--//--

	--Vehicle types for crime reports--
	twoDoor = {5, 0, "two door"},
	fourDoor = {5, 1, "four door"},
	bike = {5, 5, "bike"},
	boat = {5, 6, "boat"},
	coach = {5, 11, "coach"},
	motorBike = {5, 33, "motorbike"},
	taxi = {5, 52, "taxi"},
	--//--

	--Others--
	dontMove = {162, 2, "Police! Don't move!"},
	beeeeeep = {6, 0, "beeeeeeep"} -- surpise
	--//--
	
	--name = {, , "your description"}
};

Example. Radio sound in single player game, you can hear something like "suspect last seen in a blue for door"

 

Edited by draobrehtom

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.