Comments (6)
Having the same issue, This is the only script I found to work on bikes.
from forced-first-person.
Not sure why this would be happening, it wasn't happening before and i haven't touched the code at all except when i added the Bike feature, and even then it was working, i will check this issue out soon, currently busy with another project, but i'll see if i can identify the issue.
from forced-first-person.
local ped = PlayerPedId()
local inVeh = IsPedInAnyVehicle(ped, true)
if Config.Options.ForcedFirst then
CreateThread(function()
while true do
sleep = 1000
local _, weapon = GetCurrentPedWeapon(PlayerPedId())
local unarmed = WEAPON_UNARMED
if weapon == unarmed then
sleep = 1000
else
sleep = 1
if IsPlayerFreeAiming(PlayerId()) then
SetFollowPedCamViewMode(4)
else
SetFollowPedCamViewMode(0)
end
end
Wait(sleep)
end
end)
end
if Config.Options.Vehicle then
CreateThread(function()
while true do
sleep = 1000
local ped = PlayerPedId()
local bike = IsPedOnAnyBike(ped)
local _, weapon = GetCurrentPedWeapon(PlayerPedId())
local unarmed = WEAPON_UNARMED
if IsPedInAnyVehicle(ped) and weapon ~= unarmed then
sleep = 1
if IsPedDoingDriveby(ped) then
SetFollowVehicleCamViewMode(4)
else
SetFollowVehicleCamViewMode(0)
end
else
sleep = 1000
end
Wait(sleep)
end
end)
end
if Config.Options.Bike then
CreateThread(function()
while true do
sleep = 1000
local _, weapon = GetCurrentPedWeapon(PlayerPedId())
local unarmed = WEAPON_UNARMED
if IsPedOnAnyBike(PlayerPedId()) and weapon ~= unarmed then
sleep = 1
if IsControlJustPressed(0, 25) then
SetCamViewModeForContext(2, 4)
elseif IsControlJustReleased(0, 25) then
SetCamViewModeForContext(2, 0)
end
else
sleep = 1000
end
Wait(sleep)
end
end)
end
if Config.EnteringVehicle then
CreateThread(function()
if Config.EnteringVehicle then
while true do
sleep = 1000
if IsPedInAnyVehicle(PlayerPedId()) then
SetFollowPedCamViewMode(4)
else
SetFollowPedCamViewMode(0)
if GetPedInVehicleSeat(inVeh, -1) then
SetFollowVehicleCamViewMode(4)
end
end
Wait(sleep)
end
end
end)
end
Here use this replace the main with this
from forced-first-person.
Having the same issue, This is the only script I found to work on bikes.
solution ^^^
from forced-first-person.
How would this fix it tho, what even was the issue in the first place?
from forced-first-person.
Should be fixed.
from forced-first-person.
Related Issues (3)
- Minor Exploit HOT 7
- Exploit? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from forced-first-person.