Theme editor

Guide Toggle Drift Mode Script Free

Admin

FiveM Pro
Joined
Oct 11, 2024
Messages
153
Reaction score
8,916
Points
93
Thread owner
Enhance your FiveM server's driving experience with our toggle drift mode script.
Simply paste into the client file, restart the script, use Numpad 9 to activate drift mode, and hold Shift to trigger car drifting.


Toggle Drift Mode Script.webp

Code:
local kmh = 3.6
local mph = 2.23693629
local carspeed = 0
-----------------
--   E D I T   --
-----------------
local driftmode = true -- on/off drift
local speed = kmh -- mph olarakda ayarlanıla biliyor
local drift_speed_limit = 200.0  -- yanlama hızı
local toggle = 118 -- Numpad 9

Citizen.CreateThread(function()

    while true do

        Citizen.Wait(100)

        if IsControlJustPressed(1, 118) then

            driftmode = not driftmode

            if driftmode then
                exports['mythic_notify']:DoLongHudText('inform', 'Drift Modu Aktif ')
            else
                exports['mythic_notify']:DoLongHudText('error', 'Drift Modu Kapalı ')
            end
        end

        if driftmode then

            if IsPedInAnyVehicle(GetPed(), false) then

                CarSpeed = GetEntitySpeed(GetCar()) * speed

                if GetPedInVehicleSeat(GetCar(), -1) == GetPed() then

                    if CarSpeed <= drift_speed_limit then

                        if IsControlPressed(1, 21) then
    
                            SetVehicleReduceGrip(GetCar(), true)
    
                        else
    
                            SetVehicleReduceGrip(GetCar(), false)
    
                        end
                    end
                end
            end
        end
    end
end)
 
Last edited by a moderator:
Thread 'New Ox QBCore Full Server file'
All scripts are open source - no licensed scripts Framework: QBCore - Newest QBCore Version...
Thread 'New V3.2 EN QBCore Best FiveM RP Base Newest'
Toxic V3.2 EN QBCore RP Base – FiveM Server Files Download the newest Toxic V3.2 EN QBCore RP...
Thread 'LB PHONE 🎉 ALL BUGS FIXED - ESX & QBCORE TESTED ✅'
Instagram, TikTok, Tinder, banking apps, and all other applications have been fixed, and the...
Thread 'Toxic V3.1 QBCore RP Base – Ready-to-Play Open Source Server Files'
Download The Toxic V3.1 QBCore RP Server Base is a fully open-source, pre-configured roleplay...
Thread 'V4 PvP Server Files –Esx Legacy  Fully Optimized Arenas, Game Mode'
The V4 ESX PvP Server Files package is the ultimate choice for FiveM server owners who want to...
Thread 'FiveM 430+ Car Pack | Unbranded Vehicles for RP Servers'
The FiveM Unbranded Vehicle Pack (430 Cars) is a massive collection of optimized and...
Thread 'Brutal Script Pack'
Download the Brutal Script Pack for FiveM. A rare open-source collection for ESX & QBCore...
Thread 'New Toxic QBCore OX Basic Pack - Fivem Esx Server files'
The New QBCore OX Basic Pack is a lightweight, optimized, and fully open-source FiveM RP base...
Thread 'Toxic Community Service Script – ESX & QBCore - Open Source'
The Toxic Community Service Script is a FiveM resource for ESX Legacy and QBCore servers...
Thread 'Toxic New ESX Legacy Basic Pack – Free FiveM RP Base (Open Source)'
Download the Toxic New ESX Legacy Basic Pack, a clean and fully functional FiveM RP base...
Thread 'Fivem esx & qbcore Farmer job'
Fivem esx & qbcore Farmer job *** Hidden text: You do not have sufficient rights to view the...
Thread 'Unclejust Doomsday – FiveM custom secret base'
UncleJust Doomsday MLO – FiveM custom secret base maps with detailed interiors and roleplay...
Thread 'Toxic QBCore Server files'
Toxic QBCore Latest Server files - Fivem rp base - Download fivem server Open source・No...
Thread 'QBCore Basic RP Base'
QBCore Basic RP Base QBCore Version : '1.3.0' Latest Open Source...
Thread 'LB Tablet Edited Version for QBCore'
LB Tablet Edited Version for QBCore All bugs have been fixed. *** Hidden text: You do not...
Thread 'Molo Alcatraz Mlo - Tested ✔️'
Molo Alcatraz Mlo - Tested ✔️ Open Sources ✔️ *** Hidden text: You do not have sufficient...
Thread 'Toxic ESX Legacy Server File | Basic rp base'
Experience the power of the Toxic ESX Legacy Server File, the most stable and optimized base for...
Thread 'QBCore V2 FiveM RP base'
The Toxic QBCore V2 RP Server is a fully open-source, ready-to-use FiveM RP server base, built...
Thread 'Toxic V3 pvp Server File'
Download the Toxic V3 PVP Server File, a fully configured and battle-tested FiveM base built on...
Thread 'Kingmaps All in One MLO Pack'
Enhance your FiveM server with the Kingmaps MLO Pack! 🚀 The package includes: 🏪 kingmaps_247...
Thread 'Energy Fast customs Mlo ( clothes + vehicles )'
Energy Fast Customs MLO – FiveM maps for clothes shops and vehicle garages. *** Hidden text...

Members online

Back
Top Bottom