Camera
Helpful camera tools for controlling the GTA camera system
Client Module - This can only be used on the client
lib.camera.focusEntity
Quickly focus a camera towards an entity
Parameter | Type | Required | Description |
---|---|---|---|
entity | Number | Entity to focus | |
data | Object | Camera options, refer to Data Structure |
lib.camera.focusHead
Focus onto a ped's head with the camera, great for menus
Parameter | Type | Required | Description |
---|---|---|---|
event | String | Entity to focus | |
data | Object | Camera options, refer to Data Structure |
lib.camera.focusPoint
Focus onto a specific position with the camera
Parameter | Type | Required | Description |
---|---|---|---|
data | Object | Camera options, refer to Data Structure |
lib.camera.exit
Leave active camera
Data Structure
This is the data structure of a camera and the valid options
TBC TBC TBC TBC TBC TBC TBC TBC TBC TBC TBC TBC TBC TBC TBC TBC TBC TBC TBC TBC TBC
Last updated