Vehicle::getLayoutHash

From RAGE Multiplayer Wiki
Revision as of 10:06, 25 April 2020 by Alienwave (talk | contribs) (→‎Example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Syntax

vehicle.getLayoutHash();

Required Arguments

Return value

  • Model hash or name

Example

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

See also