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
| Vehicle | Manufacturer | Spawn name | Hash (hex) | Hash (signed) |
|---|---|---|---|---|
| APC | HVY | apc | 0x2189D250 | 562680400 |
| Barracks | - | barracks | 0xCEEA3F4B | -823509173 |
| Barracks Semi | HVY | barracks2 | 0x4008EABB | 1074326203 |
| Barracks (barracks3) | - | barracks3 | 0x2592B5CF | 630371791 |
| Barrage | - | barrage | 0xF34DFB25 | -212993243 |
| Chernobog | - | chernobog | 0xD6BC7523 | -692292317 |
| Crusader | Canis | crusader | 0x132D5A1A | 321739290 |
| Half-track | Bravado | halftrack | 0xFE141DA6 | -32236122 |
| TM-02 Khanjali | - | khanjali | 0xAA6F980A | -1435527158 |
| Invade and Persuade Tank | - | minitank | 0xB53C6C52 | -1254331310 |
| Rhino Tank | - | rhino | 0x2EA68690 | 782665360 |
| Apocalypse Scarab | HVY | scarab | 0xBBA2A2F7 | -1146969353 |
| Future Shock Scarab | HVY | scarab2 | 0x5BEB3CE0 | 1542143200 |
| Nightmare Scarab | HVY | scarab3 | 0xDD71BFEB | -579747861 |
| Thruster | Mammoth | thruster | 0x58CDAF30 | 1489874736 |
| Anti-Aircraft Trailer | Vom Feuer | trailersmall2 | 0x8FD54EBB | -1881846085 |
| Vetir | - | vetir | 0x780FFBD2 | 2014313426 |
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 rhinoin chat. All three register/carfollowed 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
CreateVehiclewith the spawn name or its hash (0x2EA68690 forrhino). The FiveM docs build a/carcommand 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) andminitank(Invade and Persuade Tank). The army trailersarmytankerandarmytrailerare 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.