KaizoM Posted January 21 Share Posted January 21 Hi, GTAForums. Well, I think the title it's pretty specific hehe but anyways, here's my problem: Maybe you know but there's opcodes that disable actions, like 0901: enable_player $PLAYER_CHAR jump_key 0 or 082A: set_player $PLAYER_CHAR able_to_use_crouch_button 0 I need to disable camera changes, when you press V or SELECT/BACK, in vehicle and on foot, but there's nothing simple that I can do. Maybe it's possible with memory address, something like if player 0 flying in hydra then (memory stuff to disable camera changes) else (memory stuff to enable camera changes) end I'm really dumb to understand memory addreess, I'm only understand SCM and barely cleo. It would be a great favor if someone could help me to disable the camera changes. Thank you very much. Link to comment Share on other sites More sharing options...
DavidReyes2250 Posted January 23 Share Posted January 23 (edited) Try this: :camera_1 wait 0 if 00DD: actor $PLAYER_ACTOR driving_car_with_model #HYDRA jf @camera_1 :camera_2 wait 0 if Actor.Driving($PLAYER_ACTOR) jf @camera_3 { 0 = Bumper camera 1 = Close camera 2 = Middle camera 3 = Distant camera 5 = Cinematic camera } write_memory 0xB6F0DC 1 "PUT HERE YOUR CAMERA VIEW MODE" 0 jump @camera_2 :camera_3 jump @camera_1 Where it says "PUT HERE YOUR CAMERA VIEW MODE" you must delete that text and replace it with one of the values that I left there. Edited January 23 by DavidReyes2250 KaizoM 1 Link to comment Share on other sites More sharing options...
KaizoM Posted January 23 Author Share Posted January 23 That's actually what I wanted! Thanks so much! Link to comment Share on other sites More sharing options...
skatefilter5 Posted March 12 Share Posted March 12 On 1/23/2022 at 1:54 AM, DavidReyes2250 said: Try this: :camera_1 wait 0 if 00DD: actor $PLAYER_ACTOR driving_car_with_model #HYDRA jf @camera_1 :camera_2 wait 0 if Actor.Driving($PLAYER_ACTOR) jf @camera_3 { 0 = Bumper camera 1 = Close camera 2 = Middle camera 3 = Distant camera 5 = Cinematic camera } write_memory 0xB6F0DC 1 "PUT HERE YOUR CAMERA VIEW MODE" 0 jump @camera_2 :camera_3 jump @camera_1 Where it says "PUT HERE YOUR CAMERA VIEW MODE" you must delete that text and replace it with one of the values that I left there. OH WAIT! what about on-foot as well? camera modes Link to comment Share on other sites More sharing options...
Strs Posted March 17 Share Posted March 17 (edited) there is 65 camera modes in vehicle to foot and turrets you wanna know all ? Edited May 18 by Strs i love this gtaforum now LUISDooM 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now