-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.lua
76 lines (63 loc) · 3.8 KB
/
config.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
Config = {
-- IMPORTANT! To configure report text navigate to /html/script.js and find the text you want to replace
EvidenceReportInformationBullet = "firstname, lastname, job, sex", -- The information displayd from users table in mysql in the evidence report (ONLY CHANGE IF YOU KNOW WHAT ARE YOU DOING)
EvidenceReportInformationFingerprint = "firstname, lastname, job, sex", -- The information displayd from users table in mysql in the evidence report (ONLY CHANGE IF YOU KNOW WHAT ARE YOU DOING)
EvidenceReportInformationBlood = "firstname, lastname, job, sex", -- The information displayd from users table in mysql in the evidence report (ONLY CHANGE IF YOU KNOW WHAT ARE YOU DOING)
ShowBloodSplatsOnGround = true, -- Show blood on the ground when player is shot
PlayClipboardAnimation = true, -- Play clipboard animation when reading report
JobRequired = 'police', -- The job needed to use evidence system
JobGradeRequired = 0, -- The MINIMUM job grade required to use evidence system (If you use 0 all job grades can use the system)
CloseReportKey = 'BACKSPACE', -- The key used to close the report
PickupEvidenceKey = 'E', -- The key used to pick up evidence
EvidenceAlanysisLocation = vector3(440.29843139648,-975.82861328125,30.68960762023), -- The place where the evidence will be analyzed and report generated
TimeToAnalyze = 10000, -- Time in miliseconds to analyze the given evidence
TimeToFindFingerprints = 3000, -- Time in miliseconds to find fingerprints in a car
--UPDATE V2
RainRemovesEvidence = true, -- Removes evidence when it starts raining!
TimeBeforeCrimsCanDestory = 300, -- Seconds before Criminals can destroy evidence (300 is the time when evidence coolsdown and shows up as WARM)
EvidenceStorageLocation = vector3(2507.4296875,-354.43572998047,101.89334869385), -- The place where all evidence are being archived! You can view old evidence or delete it
--
Text = {
--UPDATE V2
['not_in_vehicle'] = 'To use this you need to be in a vehicle!',
['remove_evidence'] = 'Destroy evidence [~r~E~w~]',
['cooldown_before_pickup'] = 'The evidence is too fresh/hot to destroy',
['evidence_removed'] = 'Evidence destroyed!',
['open_evidence_archive'] = '[~b~E~w~] View evidence archive',
['evidence_archive'] = 'Evidence Archive',
['view'] = 'View',
['delete'] = 'Delete',
['report_list'] = 'Report #',
['evidence_deleted_from_archive'] = 'Evidence deleted from archive!',
--
['evidence_colleted'] = 'Evidence #{number} collected!',
['no_more_space'] = 'Not enough space for evidence 3/3!',
['analyze_evidence'] = '[~b~E~w~] Analyze the evidence',
['evidence_being_analyzed'] = 'The evience is being alanyzed by forensics! Please Wait',
['evidence_being_analyzed_hologram'] = '~b~The evidence is being analyzed',
['read_evidence_report'] = '[~b~E~w~] Read evidence report',
['analyzing_car'] = 'The car is being analyzed! Please wait',
['pick_up_evidence_text'] = 'Take evidence [~r~E~w~]',
['no_fingerprints_found'] = 'No fingerprints found!',
['no_evidence_to_analyze'] = "No evidence to analyze!",
['shell_hologram'] = '~b~ {guncategory} ~w~ bullet shell',
['blood_hologram'] = '~r~Blood Splat',
['blood_after_0_minutes'] = 'Status: ~r~FRESH',
['blood_after_5_minutes'] = 'Status: ~y~AGED',
['blood_after_10_minutes'] = 'Status: ~b~OLD',
['shell_after_0_minutes'] = 'Status: ~r~HOT',
['shell_after_5_minutes'] = 'Status: ~y~WARM',
['shell_after_10_minutes'] = 'Status: ~b~COLD',
['submachine_category'] = 'Submachine',
['pistol_category'] = 'Pistol',
['shotgun_category'] = 'Shotgun',
['assault_category'] = 'Assault Rifle',
['lightmachine_category'] = 'Light Machine Gun',
['sniper_category'] = 'Sniper',
['heavy_category'] = 'Heavy Weapon'
}
}
-- Only change if you know what are you doing!
function SendTextMessage(msg)
QBCore.Functions.Notify(msg)
end