- Inside of Config.JobInteractions = {["investigation"] = { { id ='civilinformation', title ='Civil Information', icon ='user', type ='client', event ='m-Investigation:Client:GetInfo', shouldClose =true }, { id ='personalevidence', title ='Personal Evidence', icon ='box', type ='client', event ='m-Investigation:Client:OpenMenuPersonalEvidences', shouldClose =true }, { id ='generalevidence', title ='General Evidence', icon ='box', type ='client', event ='m-Investigation:Client:OpenMenuGeneralEvidences', shouldClose =true },},
Important Information
Please read all files on folder configs, you have so much things to change.
This work can be used together with your police. For this, they will have to authorize, for example, this job evidence. To do this, we will make these changes:
qb-policejob/client/evidence.lua - Line 318
You have: if PlayerJob.name == 'police' and onDuty then
Replace: if PlayerJob.name == 'police' or PlayerJob.name == 'investigation' and onDuty then*
qb-policejob/server/main.lua - Line 215
You have: if Player.PlayerData.job.name == "police" and Player.PlayerData.job.onduty then
Replace: if Player.PlayerData.job.name == "police" or Player.PlayerData.job.name == "investigation" and Player.PlayerData.job.onduty then
qb-policejob/server/main.lua - Line 253
You have: if Player.PlayerData.job.name == "police" and Player.PlayerData.job.onduty then
Replace: if Player.PlayerData.job.name == "police" or Player.PlayerData.job.name == "investigation" and Player.PlayerData.job.onduty then
qb-policejob/server/main.lua - Line 448
You have: if ((Player.PlayerData.job.name == "police") and Player.PlayerData.job.onduty) and OtherPlayer then
Replace: if ((Player.PlayerData.job.name == "police" or Player.PlayerData.job.name == "investigation") and Player.PlayerData.job.onduty) and OtherPlayer then