🛞ug-TractionControl
Simple script to turn ON/OFF drift mode in your car.
Config File
Config.OnKey = trueIf you want to active in on key make it true else make it false
Config.Key = 47You can choose the key that will turn ON/OFF the drift mode.
https://docs.fivem.net/docs/game-references/controls/
Config.WhitelistVehicles = {'champion', 'sultan'}Here are the list of Whitelisted vechicle in which you can turn the drift mode on.
TriggerEvent('ug-TractionControl:DriftON') -- This event in on client sideEvent that will trigger vehichle check if it is on whitelisted list and if it is then it turn on drift mode.
TriggerEvent('ug-TractionControl:DriftOFF') -- This event in on client sideEvent that will turn off drift mode.
Config.ugNotifyON = function()
lib.notify({
title = 'You turned ON drift mode',
type = 'success'
})
end
Config.ugNotifyOFF = function()
lib.notify({
title = 'You turned OFF drift mode',
type = 'success'
})
endHere you can use your own Notify system just write trigger to your notify in that function.
It uses ox notify for deafult.
Last updated
Was this helpful?