ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Shared functions
  3. setCameraInterior

Function

setCameraInterior

Server and clientCameraIdentical to MTA:SA

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)

See also