GTA 5 Military Vehicle Spawn Codes for FiveM

This page lists the 17 base-game GTA V vehicles that the game puts in the Military class, each with its spawn name (also called spawn code or model name), manufacturer and model hash. GTA 5 and FiveM use the same spawn names. To spawn one on a QBCore, Qbox or ESX server, type /car and the spawn name in chat, for example /car rhino for the Rhino Tank.

All 910 vehicles in 22 classes, with search and copy buttons: full vehicle spawn code list.

Military spawn codes 17 vehicles, 5 manufacturers

GTA 5 Military vehicle spawn names and model hashes for FiveM
VehicleManufacturerSpawn nameHash (hex)Hash (signed)
APCHVYapc0x2189D250562680400
Barracks-barracks0xCEEA3F4B-823509173
Barracks SemiHVYbarracks20x4008EABB1074326203
Barracks (barracks3)-barracks30x2592B5CF630371791
Barrage-barrage0xF34DFB25-212993243
Chernobog-chernobog0xD6BC7523-692292317
CrusaderCaniscrusader0x132D5A1A321739290
Half-trackBravadohalftrack0xFE141DA6-32236122
TM-02 Khanjali-khanjali0xAA6F980A-1435527158
Invade and Persuade Tank-minitank0xB53C6C52-1254331310
Rhino Tank-rhino0x2EA68690782665360
Apocalypse ScarabHVYscarab0xBBA2A2F7-1146969353
Future Shock ScarabHVYscarab20x5BEB3CE01542143200
Nightmare ScarabHVYscarab30xDD71BFEB-579747861
ThrusterMammoththruster0x58CDAF301489874736
Anti-Aircraft TrailerVom Feuertrailersmall20x8FD54EBB-1881846085
Vetir-vetir0x780FFBD22014313426

Hashes are the Jenkins one-at-a-time (joaat) hash of the lowercase spawn name, the value GetHashKey returns. The signed column is the same 32-bit number the way FiveM natives print it. Names and classes are checked against a dump of the game's own vehicle data. More on spawn names and model hashes.

How to spawn military vehicles in FiveM

FiveM has no built-in spawn command. A resource on the server provides it, so the way in depends on what the server runs:

  • QBCore, Qbox and ESX: type /car rhino in chat. All three register /car followed by the spawn name and limit it to admins by default.
  • vMenu: use "Spawn Vehicle By Model Name" in the vehicle spawner and enter rhino, if your permissions allow it.
  • txAdmin: admins with the vehicle permission can spawn by model name from the in-game menu (/tx).
  • Your own script: request the model, then call CreateVehicle with the spawn name or its hash (0x2EA68690 for rhino). The FiveM docs build a /car command this way in Creating your first script.

Type the name in lowercase and without spaces. If a name from the table does not spawn, the usual reason is the game build: vehicles added by later game updates only exist on a server whose enforced game build (sv_enforceGameBuild) includes them.

What to know about the Military class

  • Jets and helicopters are not in this class; the game lists them by type: the P-996 LAZER (lazer) and Hydra (hydra) under Planes, the Buzzard Attack Chopper (buzzard) and Savage (savage) under Helicopters.
  • The Insurgent and the Technical are not here either: the game data puts them in Off-Road.
  • The tanks are rhino (Rhino Tank), khanjali (TM-02 Khanjali) and minitank (Invade and Persuade Tank). The army trailers armytanker and armytrailer are under Utility.

Military spawn names that are easy to get wrong

  • TM-02 Khanjali: khanjali
  • Invade and Persuade Tank: minitank
  • Vom Feuer Anti-Aircraft Trailer: trailersmall2
  • HVY Barracks Semi: barracks2

This table only has vehicles that ship with the game. An add-on vehicle is spawned with its own name, the <modelName> from its vehicles.meta. Paste a gta5-mods.com vehicle link into the converter and download a FiveM resource that keeps that spawn name (3 free conversions, no signup). Convert a gta5-mods.com vehicle

Military spawn codes: questions

What is the spawn code for the Rhino Tank, the APC and the Barracks?

The Rhino Tank is rhino (model hash 0x2EA68690, or 782665360 as a signed number). The HVY APC is apc and the Barracks is barracks. The table on this page has all 17 vehicles of the Military class.

How do I spawn a military vehicle in FiveM?

FiveM has no built-in spawn command; a resource on the server adds one. On QBCore, Qbox and ESX type /car rhino in chat (limited to admins by default). vMenu has a Spawn Vehicle By Model Name option, and admins with the vehicle permission can spawn by model name from the txAdmin in-game menu. In a script, request the model and call CreateVehicle with the spawn name or its hash.

What is the tank spawn code in GTA 5 and FiveM?

The Rhino Tank is rhino. The TM-02 Khanjali is khanjali and the Invade and Persuade Tank is minitank. All three are in the Military class.

Do add-on military vehicles use these spawn codes?

No. This page lists vehicles that ship with the game. An add-on vehicle has its own spawn name: the modelName in its vehicles.meta, which matches the .yft file name in the stream folder. It must not be the same as a name in this table, or it replaces that vehicle. A resource made by the converter keeps the mod's own spawn name.

How it works: converting add-on vehicles. After the install: fix an add-on car name that shows NULL. Back to the full list of GTA 5 vehicle spawn codes.