- Documentation
- Client functions
- getCameraViewMode
Function
getCameraViewMode
Returns the current in-vehicle camera view, read from the game: 0 = bumper (view from inside), 1 = close, 2 = medium, 3 = far. It also reflects a view change made by the player with the key.
Syntax
int getCameraViewMode()Differences from MTA:SA
- In MTA:SA this function is server-side only.
In MTA:SA
getCameraViewMode()Returns
The view 0-3.
Example
outputChatBox("Widok: " .. getCameraViewMode())