Streaming::setInteriorActive: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
 
Line 1: Line 1:
{{ClientsideJsFunction}}
{{JSContainer|
===Required Params===
*'''interiorID:''' {{RageType|number}}
*'''toggle:''' {{RageType|boolean}}
===Return value===
*''' {{RageType|void}} '''


==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">mp.game.streaming.setInteriorActive(interiorID, toggle);</syntaxhighlight>
<syntaxhighlight lang="javascript">
=== Required Arguments ===
mp.game.streaming.setInteriorActive(interiorID, toggle)
*'''interiorID:''' int
</syntaxhighlight>
*'''toggle:''' Boolean
 
===Return value===
*'''Undefined'''
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
// todo
//todo
</syntaxhighlight>
</syntaxhighlight>
}}
==See also==
==See also==
{{Streaming_functions_c}}
{{Streaming_functions_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 04:03, 27 May 2024

Client-Side
Function

 JavaScript



JavaScript Syntax


Required Params

  • interiorID: number
  • toggle: boolean

Return value

  • void

Syntax

mp.game.streaming.setInteriorActive(interiorID, toggle)

Example

//todo


See also