All these years with such good scripts but still no FOV script for FiveM?
You can use this native, SET_CAM_FOV()
https://runtime.fivem.net/doc/natives/#_0xB13C14F66A00D047
Here is some code I found on a old forum post;
local camera = GetRenderingCam()
local fov = 120.0
SetCamFov(camera, fov)
Where do I edit it? What folder and file?
And to what do I change what?
he provided you the greatest solution of all time… if you don’t know what to do with it nor how to use it… maybe you should not complain about all those great scripts but no camera fov…
What are you talking about? Hypocrite
XD how can i be an “hypocrite”?
you asked how to change cam fov after “all those years and great scripts” 17days ago… and after someone gives you the answer you ask… where to change it? i mean… you’re the “hypocrite” because you don’t know how to script and still you have the boldness to ask why no one have changed a unneeded thing like camera fov… people like you are the reason why lots of great scripters decided to retire and stop scripting
Thanks bro
Well, i don’t know how to script. Maybe telling how to make scripts work can/will help learning how to script.
(i personally can’t seem to find specific tutorials and don’t have enough time, intelligence and perception to learn it all.)
I understand both of you. Asking to learn a simple thing to make it work, and a proper answer would make the person that asks for it maybe will understand the logic of scripting (if such a logic exists) a bit.
If you would tell how to make it work, like how the manifest file should be, will i save it as a .lua file etc. for the code Instead of leaving it unanswered for non-scripters.
local camera = GetRenderingCam()
local fov = 120.0
SetCamFov(camera, fov)
Or maybe a much easier thing to do, you can make it ready and upload it as a ready script. You’ll get appreciations, people will get what they want. Both sides would be happy.
Sorry if i could not write it clear enough, it’s not my native language.
(And if y’all think that non-scripters have no place here i don’t have nothing else to say, thank you. You’ve been a big help making non-scripters staying non-scripters and always will ask how things work.)
you’re answering to something i wrote 2 years ago… a bit late pal… good luck
and i’m still on the same idea… if you guys want things done… make them yourselves!