πͺΆConfig Settings
βοΈ Configuration Overview
config.lua is the main configuration file for FRKN-Racing v2.
All gameplay rules, rewards, systems, NPCs, and interaction settings are controlled from this file.
π General Settings
language = 'en', -- tr , en , de
MoneyType = 'cash',
VehicleTableName = 'player_vehicles',
FlagProp = "tr_prop_tr_flag_01a",language: Sets the system language
MoneyType: Currency used for race fees and rewards
VehicleTableName: Database table where player vehicles are stored
FlagProp: Flag prop used in race visuals
π₯οΈ HUD Control
HudOpen = function()
-- exports['esx_hud']:HudToggle(true)
end,
HudClose = function()
-- exports['esx_hud']:HudToggle(false)
end,Used to control your server HUD when the racing menu opens or closes
Add your own HUD exports here
π Item System
Set config = true to enable item-based access
Controls required items for joining races and creating tracks
π₯ Crew System
Money: Cost to create a crew
RewardControlTime: Cooldown (in minutes) before managing crew rewards again
π§ Race Line System
enabled: Enables or disables the racing line
formulaOnly: Shows racing line only in Formula races
arrowDistance: Distance between arrows (affects performance)
β±οΈ Auto Race System
Automatically starts races at specific server times
raceId must match the race ID in the database
π XP & Rating
WinXP / RatingWin: Rewards given to the race winner
XP / Rating tables: Distribution based on finishing position
π Weekly Reward
Weekly reward system
type can be
money,item, orcar
π Race Gameplay Settings
Manual gear system
Race prize type
Finish marker display
Minimum players required
Start freeze duration
Disqualification rules
π Sound Settings
Controls checkpoint sound effects
π« Drift Blacklist
Vehicles listed here cannot enter drift mode
π Notifications
Custom in-game notification messages
π Authorization System
Restricts script usage to specific authorization codes
π― Target System
Use
qb-targetif you are using qb-targetUse
ox_targetif you are using ox_target
π§ Racing NPC
NPC used for teleporting or recovering stuck players
π οΈ Handling Presets
Defines vehicle handling behavior for different race types
π Notes
Always restart the server after config changes
All settings are optional and customizable
FRKN-Racing v2 is designed to be modular and expandable
Last updated