# getCameraData

Returns the camera data for the specified camera index.\
\
This native can be called on the server side.

```lua
        local cameraData = dynamic:getCameraData(cameraIndex)
        WarMenu.SetMenuTitle('cameraMenu',cameraData.name) -- this is a custom function, if you ever try replicate this and it doesnt work, that's why.
```
