This script requires jim_bridge
This is a easy to run script that creates an automated AFK cam for your players (and their streams)
This puts the camera (player) into a separate bucket, so they won't be able to see/hear other players (this prevents meta-gaming)
The Cams are easy to edit and create once you work out the logic
Example:
```
{ -- City view
rotatepoint = vec3(-123.95, -753.36, 89.85), --- This is the point the camera will rotate around
lookat = vec3(-123.95, -753.36, 89.85), --- This is the point the camera will look at at all times
originz = 295.74, --- This is the set height of the camera
radius = 1800.0, --- This is the distance from the `rotatepoint` that the camera will show
duration = 100.0, --- This is how many degrees the camera will turn before it ends
fov = 30.0, --- This is the camera FOV
startAngle = 0.0, --- This is the starting angle of the camera
},As per the config, you can set control how players enable and disable the camera
- Players can type /afkcam to enable it
- Players can hold Right Control to enable or disable it
- (Disabled by default) Moving the mouse or pressing any keys will disable it
Video Preview:
@fivem=true @qbcore=true @qbox=true @oxcore=true @esx=true @metric=jim-afkcam.txt