This is a FiveM script that lets you control an in-game camera. You can move, rotate, zoom, and save the camera's parameters. I hope this helps you easily change camera coords for your multicharacter.
- I made this to adjust the multicharacter camera coords on my QBCore server.
- You can change camera coords in your multicharacter.
Preview : https://youtu.be/i46EZJyFJIc
- Move the camera using the W, A, S, and D keys.
- Rotate the camera using the mouse or arrow keys.
- Zoom in and out using the Q and E keys.
- Save the camera parameters to a file for later use.
- /setcamera: Activates and sets up the camera at the player's current position.
- /turnoffcamera: Deactivates and removes the camera.
- /savecamera: Saves the current camera parameters and sends them to the server.
- W: Move camera forward
- S: Move camera backward
- A: Move camera left
- D: Move camera right
- Q: Zoom in
- E: Zoom out
- Arrow Keys: Rotate camera
- Mouse: Rotate camera
- Download or clone this repository to your local machine.
- Place the folder in your FiveM server's
resourcesdirectory. - Remove
-mainpart - Add
ensure sintic-camcoordsto your server'sserver.cfgfile. - Restart your server.
- To start using the camera, type
/setcamerain the chat. - Use the controls listed above to move, rotate, and zoom the camera.
- To save the camera parameters, type
/savecamerain the chat. - To turn off the camera, type
/turnoffcamerain the chat.
The camera parameters are saved to a Txt file named camera_params.txt in the resource directory. Also you can get from the f8 console.
Q: Can I use this to change qb-multicharacter camera coords? A: Yes
Q: Does this work with ESX? A: Yes. this's standalone.
Q: Can I use this for other scripts? A: Yes
GNU GENERAL PUBLIC LICENSE
Feel free to submit issues and pull requests if you have any improvements or bug fixes.
Developed by NethushaDev.