SetCameraInterior: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
Line 6: Line 6:
<section name="Server" class="server" show="true">
<section name="Server" class="server" show="true">
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
int setCameraInterior ( player thePlayer, int interior )
bool setCameraInterior ( player thePlayer, int interior )
</syntaxhighlight>
</syntaxhighlight>


Line 16: Line 16:
<section name="Client" class="client" show="true">
<section name="Client" class="client" show="true">
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
int setCameraInterior ( int interior )
bool setCameraInterior ( int interior )
</syntaxhighlight>
</syntaxhighlight>



Revision as of 17:16, 19 April 2008

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

See Also