getDlcVehicleModLockHash

GET_DLC_VEHICLE_MOD_LOCK_HASH0xC098810437312FFF

The GTA V native GET_DLC_VEHICLE_MOD_LOCK_HASH of the EXTRAMETADATA namespace, as LS:MP client scripts call it: the global function getDlcVehicleModLockHash, in JavaScript and in Lua.

SignatureJavaScript
getDlcVehicleModLockHash(hash: Hash): Hash
SignatureLua
getDlcVehicleModLockHash(hash: Hash): Hash

Usage

JavaScript
const result = getDlcVehicleModLockHash(hash);
Lua
local result = getDlcVehicleModLockHash(hash)

Parameters

ParameterTypeJavaScriptLua
hashHashnumberinteger

Returns

Hash JavaScript number, Lua integer

A game hash. Natives return it unsigned (0 to 4294967295), the value lsmp.hash gives. As an argument, the signed and unsigned forms of a hash are the same value.

Reference

Namespace
Shop metadata EXTRAMETADATA
In the game
Hash GET_DLC_VEHICLE_MOD_LOCK_HASH(Hash hash)
Hash
0xC098810437312FFF

Open in the interactive natives reference