-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathconfig.lua
19 lines (18 loc) · 1.21 KB
/
config.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
-- CLIENT CONFIGURATION
config_cl = {
joinProximity = 25, -- Proximity to draw 3D text and join race
joinKeybind = 51, -- Keybind to join race ("E" by default)
joinDuration = 30000, -- Duration in ms to allow players to join the race
freezeDuration = 5000, -- Duration in ms to freeze players and countdown start (set to 0 to disable)
checkpointProximity = 25.0, -- Proximity to trigger checkpoint in meters
checkpointRadius = 25.0, -- Radius of 3D checkpoints in meters (set to 0 to disable cylinder checkpoints)
checkpointHeight = 10.0, -- Height of 3D checkpoints in meters
checkpointBlipColor = 5, -- Color of checkpoint map blips and navigation (see SetBlipColour native reference)
hudEnabled = true, -- Enable racing HUD with time and checkpoints
hudPosition = vec(0.015, 0.725) -- Screen position to draw racing HUD
}
-- SERVER CONFIGURATION
config_sv = {
finishTimeout = 180000, -- Timeout in ms for removing a race after winner finishes
notifyOfWinner = true -- Notify all players of the winner (false will only notify the winner)
}