- Documentation
- Shared functions
- setCameraInterior
Function
setCameraInterior
Sets the camera interior, i.e. which buildings are drawn around it. Use together with setCameraMatrix to preview interiors.
Syntax
Server
bool setCameraInterior(player thePlayer, int interior)Client
bool setCameraInterior(int interior)Arguments
thePlayerplayer- The player (server only).
interiorint- Interior 0-255.
Returns
true on success.
Example
setCameraInterior(player, 3)
setCameraMatrix(player, 236, 1110, 1084, 230, 1110, 1083)