FiveM Object Hashes
A searchable list of the most common GTA V Object (Prop) spawn names used in FiveM scripts, mapping, and animations.
Building custom maps and interiors? Give your players a custom loading screen.
Use Vice-Forge's visual builder to create a stunning loading screen for your server in 60 seconds.
Props List
| Object Name | Category | Spawn Code |
|---|---|---|
| Traffic Cone | Props | |
| Police Barrier | Props | |
| Spike Strips | Props | |
| Cash Pile | Money | |
| Money Bag | Money | |
| Gold Bar | Valuables | |
| Weed Plant | Drugs | |
| Cocaine Brick | Drugs | |
| Meth Bag | Drugs | |
| Cigar | Misc | |
| Coffee Cup | Misc | |
| Burger | Food | |
| Water Bottle | Food | |
| Chair (Office) | Furniture | |
| Desk | Furniture | |
| Laptop | Electronics | |
| Phone | Electronics | |
| Duffel Bag | Bags | |
| Briefcase | Bags | |
| Vending Machine (Sprunk) | Props | |
| ATM | Props | |
| Trash Can | Props | |
| Dumpster | Props | |
| Crate | Props |
What are FiveM Object Hashes?
In GTA V and FiveM, physical items like chairs, tables, police barriers, spike strips, and money bags are considered Objects (or Props).
When building custom maps using tools like CodeWalker, or when writing scripts that need to spawn an item into the world, you must use the exact spawn code (like prop_barrier_work05). You will often see these spawn codes prefixed with prop_ or p_.
Attaching Objects to Players
One of the most common uses for object hashes in FiveM scripting is attaching a prop to a player's hands during an animation (e.g., holding a coffee cup or a phone). This is done using the AttachEntityToEntity native function.
local propName = "prop_npc_phone_02"
local propHash = GetHashKey(propName)
RequestModel(propHash)
while not HasModelLoaded(propHash) do
Wait(1)
end
local playerPed = PlayerPedId()
local x, y, z = table.unpack(GetEntityCoords(playerPed))
-- Create the object
local prop = CreateObject(propHash, x, y, z + 0.2, true, true, true)
-- Attach it to the player's right hand (bone 28422)
AttachEntityToEntity(prop, playerPed, GetPedBoneIndex(playerPed, 28422), 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, true, true, false, true, 1, true)