Pular para o conteúdo
Model & Hash Browser

Model & Hash Browser

Search every GTA V vehicle, ped and weapon by spawn name, display name or hash, copy hashes in any format and get a ready Lua spawn snippet.

Por enquanto, esta documentação está em inglês.

Open the tool Last updated

The Model & Hash Browser lists every GTA V vehicle (921), ped (1,109) and weapon (184) with a picture, spawn name, display name, class and hash. Search by any of them, paste a hash to find out which model it is, and copy a Lua snippet that spawns or gives the thing you picked.

What it is for

  • You need the spawn name of a car you only know by its in-game name (Zentorno, Pegassi Tempesta).
  • A log or an event prints -1216765807 and you want to know which model that is.
  • You are filling a garage, shop or whitelist config and need exact names and hashes.
  • You want the right ped model for an NPC, or the WEAPON_ name for a loadout.

Quick start

  1. Pick a tab: Vehicles, Peds or Weapons.
  2. Type in the search box: a spawn name (adder), a display name (Zentorno), a manufacturer (vehicles), or a hash.
  3. Narrow it down with the filters next to the search box.
  4. Click the spawn name or the hash on a card to copy it.
  5. Click anywhere else on the card to open the details drawer with every hash format and a Lua snippet.

Search and filters

The search matches spawn name, display name and (for vehicles) manufacturer. Several words narrow the search: pegassi super finds cars with both words. Quotes and backticks are ignored, so you can paste `adder` straight from a script.

A hash in any format finds its model:

Format Example (Adder)
Signed -1216765807
Unsigned 3078201489
Hex with 0x 0xB779A091
Hex without 0x (8 digits) B779A091
Filter Tabs What it filters
Any class / Any ped type / Any category all Vehicle class (Super, Sport, Emergency…), ped type (Civ Male, Cop, Animal…) or weapon category (Pistol, Rifle, Thrown…). Each option shows how many entries it has.
Any type Vehicles Vehicle type: Car, Bike, Boat, Heli, Plane, Trailer, Submarine and so on.
Any DLC all The update that added it.

The line under the filters shows how many entries match, with a Reset filters button. Results load 48 at a time; scroll to the button at the bottom for more.

Switching tabs resets the filters. Your search, filters, tab and the open drawer are kept in the page URL, so you can bookmark or share a link to an exact result.

Card hash format

Card hash (top right) picks which hash the cards show: Signed, Unsigned or Hex. It only changes the cards; the drawer always shows all formats.

The details drawer

Opens from the right on desktop and from the bottom on phones. Esc, the close button or a click outside closes it.

Hashes (every tab), each one click to copy:

Row Example
Spawn name adder
Signed -1216765807
Unsigned 3078201489
Hex 0xB779A091
Lua backtick `adder`

Vehicles

  • Details: manufacturer, class, type, seats, wheels, DLC, value, sirens and armored glass.
  • Performance: top speed (km/h and mph), acceleration, braking and traction as bars, scaled against land vehicles.
  • Mod kits, Vehicle weapons and Flags (the model’s FLAG_ list without the prefix).
  • Spawn it snippet:
Lua
local model = `adder`
RequestModel(model)
while not HasModelLoaded(model) do Wait(0) end

local ped = PlayerPedId()
local coords = GetEntityCoords(ped)
local veh = CreateVehicle(model, coords.x, coords.y, coords.z, GetEntityHeading(ped), true, false)
SetPedIntoVehicle(ped, veh, -1)
SetVehicleNumberPlateText(veh, "FIVEMAD")
SetModelAsNoLongerNeeded(model)

Top speed is the game’s estimated max speed for the model (what GetVehicleModelEstimatedMaxSpeed returns), not a measured run. Jets and some boats sit at the top of the bar. Handling edits and upgrades change the real numbers.

Peds

  • Details: display name, ped type, DLC.
  • Use it snippet, to change the player model or spawn the ped as an NPC:
Lua
local model = `a_m_y_hipster_01`
RequestModel(model)
while not HasModelLoaded(model) do Wait(0) end

-- Change the player model
SetPlayerModel(PlayerId(), model)
SetPedDefaultComponentVariation(PlayerPedId())

-- Or spawn it as an NPC
-- local c = GetEntityCoords(PlayerPedId())
-- local npc = CreatePed(4, model, c.x + 2.0, c.y, c.z, 0.0, true, false)

SetModelAsNoLongerNeeded(model)

Weapons

  • The in-game description, when there is one.
  • Details: category, ammo type, damage type, max ammo (MP), number of components and tints, weapon model, DLC, and whether it is a vehicle weapon.
  • Components, tints and flags opens the Weapon Stats & Components tool on this weapon.
  • Give it snippet, with the weapon’s max MP ammo:
Lua
local ped = PlayerPedId()
GiveWeaponToPed(ped, `WEAPON_PISTOL`, 250, false, true)

Signed, unsigned or hex?

They are the same 32-bit hash of the spawn name, written three ways. Natives such as GetEntityModel and GetHashKey return the signed form, dumps and native docs often use hex, and most natives accept any of them. In Lua you can skip the lookup and write the name in backticks: `adder` is turned into the hash when the script loads.

Lua
local veh = GetVehiclePedIsIn(PlayerPedId(), false)
if GetEntityModel(veh) == `adder` then
    print("You are in an Adder")
end

Tips

  • Paste an unknown hash from an error or a log first. It is the fastest way to find out which model a script is talking about.
  • Compare models with backticks or GetHashKey, not with a hard-coded unsigned number: natives hand you the signed value.
  • Weapon names are upper case by convention (WEAPON_PISTOL), but hashes ignore case, so weapon_pistol gives the same hash.
  • Some peds and newer DLC models have no picture yet. They show an icon instead; the names and hashes are still right.

Limitations

  • Base game content only. Addon vehicles, peds and weapons from your server are not listed. For those, hash the name with the joaat Hash Calculator.
  • Stats are the game’s reference values, not the handling on your server.
  • Pictures are loaded from the FiveM docs site.