Vehicle::getLayoutHash: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
Line 1: Line 1:


==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">vehicle.getLayoutHash();</syntaxhighlight>
<syntaxhighlight lang="javascript">
const vehicle = mp.players.local.vehicle;
mp.gui.chat.push(`hash: ${vehicle.getLayoutHash()}`);
</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
===Return value===
===Return value===
*'''Model hash or name'''
*'''Model hash or name'''
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">

Revision as of 10:05, 25 April 2020

Syntax

const vehicle = mp.players.local.vehicle;
mp.gui.chat.push(`hash: ${vehicle.getLayoutHash()}`);

Required Arguments

Return value

  • Model hash or name

Example

// todo

See also