Configuration
Configuration of SCode Freecam Resource
Config = {
ToggleKey = 'F6', -- Toggle camera mode on/off
CycleCameraKey = 'V', -- Change camera angle
HoldDuration = 1, -- Duration to hold the toggle key
MoveSpeed = 0.08, -- Camera movement speed
VerticalSpeed = 0.05, -- Vertical movement speed (up/down)
RotateSpeed = 2.5, -- Rotation speed (mouse movement)
MaxHorizontalDistance = 6.0, -- Max horizontal distance from the player
MaxVerticalDistance = 3.5, -- Max vertical distance from the player
CameraFOV = 45.0, -- Default camera field of view
ZoomSpeed = 1.0, -- Zoom speed
MinZoom = 10.0, -- Minimum zoom distance (FOV)
MaxZoom = 90.0, -- Maximum zoom distance (FOV)
QERotateSpeed = 1.5, -- Rotation speed when using Q/E keys
Framework = {
enabled = true, -- Enable framework integration
name = 'qb', -- Framework type (qb, esx)
disableInVehicle = true, -- Disable camera mode when in a vehicle
disableWhenDead = true -- Disable camera mode when the player is dead
},
Notify = {
type = 'ox', -- Notification type (ox, qb, esx)
messages = {
enter = "🎥 Camera Mode Activated!", -- Message when entering camera mode
exit = "🎥 Camera Mode Disabled!", -- Message when exiting camera mode
help = "[H] HELP" -- Help menu message
}
},
HelpText = {
helpf = "[H] HELP", -- Help button text
title = "HELP MENU", -- Help menu title
toggle = "[F6] - Toggle Camera Mode", -- Toggle camera on/off
cycle = "[V] - Change Camera Angle", -- Switch between camera angles
move = "[W, A, S, D] - Move Camera", -- Move camera position
shiftspace = "[LSHIFT/SPACE] - Move Up/Down", -- Move vertically
rotate = "[Q-E] - Rotate Camera", -- Rotate camera left/right
zoom = "[Mouse Wheel] - Zoom In/Out", -- Adjust zoom level
help = "[H] - Open/Close Help Menu" -- Open the help menu
}
}
Last updated