Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- first maded by Apocalyptikz
- local ind = {l = false, r = false}
- Citizen.CreateThread(function()
- while true do
- Wait(0)
- if IsPedSittingInAnyVehicle(GetPlayerPed(-1)) then
- if GetPedInVehicleSeat(GetVehiclePedIsUsing(GetPlayerPed(-1)), -1) == GetPlayerPed(-1) then
- if IsControlJustPressed(1, 190) then -- l
- ind.l = not ind.l
- SetVehicleIndicatorLights(GetVehiclePedIsUsing(GetPlayerPed(-1)), 0, ind.l)
- end
- if IsControlJustPressed(1, 189) then --r
- ind.r = not ind.r
- SetVehicleIndicatorLights(GetVehiclePedIsUsing(GetPlayerPed(-1)), 1, ind.r)
- end
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement