Interior::disableInterior: Difference between revisions
(yay) |
(yay) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
Example: <br>This removes the interior from the strip club and when trying to walk inside the player just falls:<br><br>INTERIOR::DISABLE_INTERIOR(118018, true);==Syntax==<syntaxhighlight lang="javascript">interior.disableInterior(interiorID, toggle);</syntaxhighlight>=== Required Arguments ===*'''interiorID:''' int*'''toggle:''' Boolean===Return value===*'''Undefined'''==Example==<syntaxhighlight lang="javascript">todo</syntaxhighlight>==See also=={{ | Example: <br>This removes the interior from the strip club and when trying to walk inside the player just falls:<br><br>INTERIOR::DISABLE_INTERIOR(118018, true); | ||
==Syntax== | |||
<syntaxhighlight lang="javascript">mp.game.interior.disableInterior(interiorID, toggle);</syntaxhighlight> | |||
=== Required Arguments === | |||
*'''interiorID:''' int | |||
*'''toggle:''' Boolean | |||
===Return value=== | |||
*'''Undefined''' | |||
==Example== | |||
<syntaxhighlight lang="javascript"> | |||
// todo | |||
</syntaxhighlight> | |||
==See also== | |||
{{Interior_s_function_c}} | |||
[[Category:Clientside API]] | |||
[[Category:TODO: Example]] | |||
Latest revision as of 21:27, 6 May 2017
Example:
This removes the interior from the strip club and when trying to walk inside the player just falls:
INTERIOR::DISABLE_INTERIOR(118018, true);
Syntax
mp.game.interior.disableInterior(interiorID, toggle);
Required Arguments
- interiorID: int
- toggle: Boolean
Return value
- Undefined
Example
// todo
See also
- mp.game.interior.addPickupToInteriorRoomByName
- mp.game.interior.areCoordsCollidingWithExterior
- mp.game.interior.capInterior
- mp.game.interior.disableInteriorProp
- mp.game.interior.disableInterior
- mp.game.interior.enableInteriorProp
- mp.game.interior.getInteriorAtCoordsWithType
- mp.game.interior.getInteriorAtCoords
- mp.game.interior.getInteriorFromCollision
- mp.game.interior.getInteriorGroupId
- mp.game.interior.getOffsetFromInteriorInWorldCoords
- mp.game.interior.hideMapObjectThisFrame
- mp.game.interior.isInteriorCapped
- mp.game.interior.isInteriorDisabled
- mp.game.interior.isInteriorPropEnabled
- mp.game.interior.isInteriorReady
- mp.game.interior.isValidInterior
- mp.game.interior.refreshInterior
- mp.game.interior.unkGetInteriorAtCoords
- mp.game.interior.unpinInterior