GameFiles:getVariantProp

From RAGE Multiplayer Wiki
Revision as of 10:38, 14 August 2024 by Shr0x (talk | contribs) (Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''componentHash:''' {{RageType|number}} *'''variantPropIndex:''' {{RageType|number}} ===Return value=== *''' {{RageType|object}} ''' { nameHash: number; enumValue: number; anchorPoint: number; } ==Syntax== <syntaxhighlight lang="javascript"> mp.game.files.getVariantProp(componentHash, variantPropIndex) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Client-Side
Function

 JavaScript



JavaScript Syntax


Required Params

  • componentHash: number
  • variantPropIndex: number

Return value

  • object { nameHash: number; enumValue: number; anchorPoint: number; }

Syntax

mp.game.files.getVariantProp(componentHash, variantPropIndex)

Example

//todo


See also