Interior::hideMapObjectThisFrame: Difference between revisions
(yay) |
(yay) |
||
| Line 1: | Line 1: | ||
This is the native that is used to hide the exterior of GTA Online apartment buildings when you are inside an apartment.<br><br>More info: http://gtaforums.com/topic/836301-hiding-gta-online-apartment-exteriors/ | This is the native that is used to hide the exterior of GTA Online apartment buildings when you are inside an apartment.<br><br>More info: http://gtaforums.com/topic/836301-hiding-gta-online-apartment-exteriors/ | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="javascript">interior.hideMapObjectThisFrame(mapObjectHash);</syntaxhighlight> | <syntaxhighlight lang="javascript">mp.game.interior.hideMapObjectThisFrame(mapObjectHash);</syntaxhighlight> | ||
=== Required Arguments === | === Required Arguments === | ||
*'''mapObjectHash:''' Model hash or name | *'''mapObjectHash:''' Model hash or name | ||
| Line 8: | Line 8: | ||
==Example== | ==Example== | ||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
todo | // todo | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==See also== | ==See also== | ||
{{ | {{Interior_s_function_c}} | ||
[[Category:Clientside API]] | [[Category:Clientside API]] | ||
[[Category:TODO: Example]] | [[Category:TODO: Example]] | ||
Latest revision as of 21:27, 6 May 2017
This is the native that is used to hide the exterior of GTA Online apartment buildings when you are inside an apartment.
More info: http://gtaforums.com/topic/836301-hiding-gta-online-apartment-exteriors/
Syntax
mp.game.interior.hideMapObjectThisFrame(mapObjectHash);
Required Arguments
- mapObjectHash: Model hash or name
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