SetCameraInterior

From Multi Theft Auto: Wiki
Revision as of 05:35, 16 March 2008 by Erorr404 (talk | contribs)
Jump to navigation Jump to search

Sets the interior of the local camera. Only the interior of the camera is changed, the local player stays in the interior he was in.

Syntax

Click to collapse [-]
Server
int setCameraInterior ( player thePlayer, int interior )

Required Arguments

  • thePlayer: the player whose camera interior will be set.
  • interior: the interior to place the camera in.
Click to collapse [-]
Client
int setCameraInterior ( int interior )

Required Arguments

  • interior: the interior to place the camera in.

Returns

Returns true if the camera's interior was changed successfully, false otherwise.

Example

See Also