Forge Integration for ESX
Forge by Pleb Masters is a comprehensive GTA V modding data and tool browser. It provides quick access to object hashes, animations, props, vehicles, textures, and more - useful when scripting for ESX resources.
What is Forge?
Forge offers:
- Browsable GTA V game data: objects, vehicles, peds, clothes, animations, etc.
- Tools like Flags Generator, GXT Resolver, JOaat Hash Converter, and a 3D Tattoo Editor
This guide shows how ESX developers can efficiently use these resources in their scripts.
Using Forge Data in ESX
ESX scripting often needs:
- Object/prop hashes for spawning items
- Animation names for player actions
- Vehicle identifiers or model names
Forge helps you find these without trial-and-error.
Example: Using an Object Hash
local objectName = "prop_ld_flow_bottle" -- lookup on Forge
local coords = GetEntityCoords(PlayerPedId())
ESX.Game.SpawnObject(objectName, coords, nil, false)