Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
local force = 80.0
local ped = GetPlayerPed(-1)
local playerVeh = GetVehiclePedIsIn(ped, false)
if IsControlPressed(1, 38) and nitroActivado then
Citizen.Wait(3000)
SetVehicleBoostActive(playerVeh, 1, 0)
SetVehicleForwardSpeed(playerVeh, force)
StartScreenEffect("RaceTurbo", 0, 0)
SetVehicleBoostActive(playerVeh, 0, 0)
nitroActivado = false
end
end
end)