Citizen Search
Last updated
Last updated
We are going to divide this part into 10 different parts: citizen info, search & capture, dangerous, notes, fines, reports, licenses, weapons, vehicles and properties.
Here you can see info like name, lastname, gender, nationality, birthdate, id(player identifier), phone number, bank account number and the job.
Some servers can get XXXXXXXXX
in some fields because the script can't find that citizen information, here you can take a look where to find the code to change the way to get that missing fields:
Nationality: custom/server/menu/nationality.lua
Phone Number: custom/server/menu/phone.lua
Bank Account Number: custom/server/menu/bank.lua
Those checks are only information available so that the police can know more information about the player.
Here each job can attach notes with relevant citizen information. Notes can be pinned and will stand out due to their purple color.
Here all the fines that the citizen has received will be shown, the agent can delete the fine and add more fines.
All the criminal code registered here will be listed here. You can also add a personalized fine to the citizen.
You can directly access the report by clicking on the list of reports that are related to this citizen.
The user's licenses and weapons registered in the player's inventory will be displayed here. You can add licenses to the player. Below we will list the files to modify access to this data:
Licenses: custom/server/menu/licenses.lua
Weapons: custom/server/menu/weapons.lua
You can make some weapons not be displayed in the list by modifying the Config.BlackListedUsersWeapons
option in config/evidences.lua
, example:
The list of all the vehicles that the citizen has is displayed along with all the license plates of all the cars.
You can modify the logic for obtaining this data in this file: custom/serrver/menu/vehicles.lua
Most addon vehicles do not have a label set in the game files NULL
, therefore we have created some options to create labels for each vehicle in config/vehicles.lua
-> Config.CustomCarLabels
In this example the label of the vehicles police, police2, police3 has been changed, you should do this with all the addon cars you have.
The list of all the properties that the citizen has, you can modify logic to get this data here: custom/server/menu/propiertes.lua