跳到主内容

joaat 哈希计算器

在浏览器里批量计算任意字符串的 GTA V / RDR2 joaat 哈希(GetHashKey)。输出有符号、无符号和十六进制,批量列表还会附上现成的 Lua 哈希表。

这个工具和它的说明目前是英文的。

计算器哈希查看文档

Input

Result

Unsigned
Signed (int32)
Hex
Lua backtick

What is joaat?

GTA V and RDR2 identify models, weapons, animations and most other assets by a 32-bitJenkins one-at-a-time hash of their lower-cased name. In FiveM it is exposed asGetHashKey(name), joaat(name) or the Lua backtick shorthand `name`, which is resolved at compile time.

Signed vs unsigned

The hash is an unsigned 32-bit number, but many natives and dumps show it as a signed int32. Both refer to the same model: 3078201489 and -1216765807 are both adder.

local model = `adder`            -- compile-time hash
RequestModel(model)
while not HasModelLoaded(model) do Wait(0) end
local veh = CreateVehicle(model, coords.x, coords.y, coords.z, heading, true, false)