Skip to content

Latest commit

 

History

History
52 lines (45 loc) · 1.44 KB

README.md

File metadata and controls

52 lines (45 loc) · 1.44 KB

esx_wanted

Police wanted With DISCORD and GCPHONE records.

Video:

Wanted

Requirements

Download & Installation

Manually

Installation

  • Add this to your server.cfg:
start esx_wanted
  • Change Config
  • Add SQL

Command

  • Add Wanted /wanted [ID] [Time] [Reason]
  • UnWanted /unwanted [ID]

Add to esx_policejob

Image

  • esx_policejob > client > main
	ESX.UI.Menu.Open('default', GetCurrentResourceName(), 'police_actions', {
			title    = 'Police',
			align    = 'top-left',
			elements = {
				{label = _U('citizen_interaction'), value = 'citizen_interaction'},
				{label = _U('vehicle_interaction'), value = 'vehicle_interaction'},
				{label = _U('object_spawner'), value = 'object_spawner'},
				{label = "Wanted",               value = 'wanted_menu'}  -- This
		}}, function(data, menu)
			if data.current.value == 'wanted_menu' then		-- This
				TriggerEvent("esx_wanted:openWantedMenu")
			end												-- end
			if data.current.value == 'citizen_interaction' then
				local elements = {
					{label = _U('id_card'), value = 'identity_card'},
					{label = _U('search'), value = 'search'},
					{label = _U('handcuff'), value = 'handcuff'},