Skip to content

MasterCity-FiveM/esx_wanted

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'},

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages