SetCameraInterior: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Needs example)
Line 27: Line 27:


==Example==
==Example==
<syntaxhighlight lang="lua">
--TODO
</syntaxhighlight>


==See Also==
==See Also==
{{Client_camera_functions}}
{{Client_camera_functions}}
[[Category:Needs Example]]

Revision as of 18:02, 18 June 2009

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
bool 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
bool 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

--TODO

See Also