Create two events:
AddEventHandler('ApplyStreetPhysics', function()
-- trigger relevant natives
end)
AddEventHandler('ApplyDriftPhysics', function()
-- trigger relevant natives
end)
When the player enters a street race, add TriggerEvent('ApplyDrictPhysics') or the other one to the executing code.
1 Like