766f1a8d6d
+ Updated keybinds for the police speed radar and rp-radio. + Removed old shitty laptop ui. + Re-added 3dme after mistakenly removed.
53 lines
1.9 KiB
Lua
53 lines
1.9 KiB
Lua
radioConfig = {
|
|
Controls = {
|
|
Activator = { -- Open/Close Radio
|
|
Name = "INPUT_REPLAY_START_STOP_RECORDING_SECONDARY", -- Control name
|
|
Key = 57, -- F2
|
|
},
|
|
Secondary = {
|
|
Name = "INPUT_SPRINT",
|
|
Key = 21, -- Left Shift
|
|
Enabled = true, -- Require secondary to be pressed to open radio with Activator
|
|
},
|
|
Toggle = { -- Toggle radio on/off
|
|
Name = "INPUT_CONTEXT", -- Control name
|
|
Key = 51, -- E
|
|
},
|
|
Increase = { -- Increase Frequency
|
|
Name = "INPUT_CELLPHONE_RIGHT", -- Control name
|
|
Key = 175, -- Right Arrow
|
|
Pressed = false,
|
|
},
|
|
Decrease = { -- Decrease Frequency
|
|
Name = "INPUT_CELLPHONE_LEFT", -- Control name
|
|
Key = 174, -- Left Arrow
|
|
Pressed = false,
|
|
},
|
|
Input = { -- Choose Frequency
|
|
Name = "INPUT_FRONTEND_ACCEPT", -- Control name
|
|
Key = 201, -- Enter
|
|
Pressed = false,
|
|
},
|
|
Broadcast = {
|
|
Name = "INPUT_VEH_PUSHBIKE_SPRINT", -- Control name
|
|
Key = 137, -- Caps Lock
|
|
},
|
|
ToggleClicks = { -- Toggle radio click sounds
|
|
Name = "INPUT_SELECT_WEAPON", -- Control name
|
|
Key = 37, -- Tab
|
|
}
|
|
},
|
|
Frequency = {
|
|
Private = { -- List of private frequencies
|
|
[1] = true, -- Make 1 a private frequency
|
|
}, -- List of private frequencies
|
|
Current = 1, -- Don't touch
|
|
CurrentIndex = 1, -- Don't touch
|
|
Min = 1, -- Minimum frequency
|
|
Max = 1000, -- Max number of frequencies
|
|
List = {}, -- Frequency list, Don't touch
|
|
Access = {}, -- List of freqencies a player has access to
|
|
},
|
|
AllowRadioWhenClosed = false -- Allows the radio to be used when not open (uses police radio animation)
|
|
}
|