GetCameraInterior: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
m (Needs example)
Line 26: Line 26:


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


==See Also==
==See Also==
{{Camera functions}}
{{Camera functions}}
[[Category:Needs Example]]

Revision as of 18:01, 18 June 2009

Returns the interior of the local camera (independent of the interior of the local player).

Syntax

Click to collapse [-]
Server
int getCameraInterior ( player thePlayer )

Required Arguments

thePlayer: the player whose camera interior you want to check.

Click to collapse [-]
Client
int getCameraInterior ( )

Required Arguments

None

Returns

Returns an integer indicating the camera's interior, false if the argument is invalid.

Example

--TODO

See Also