<!-- fivemad.com, Markdown source of https://fivemad.com/docs -->
> Source: https://fivemad.com/docs
> Every page below is also available as Markdown: add .md to its URL.
> Site map for assistants: https://fivemad.com/llms.txt

# fivemad documentation

Guides for running a FiveM server and writing resources, a manual for every fivemad tool, and video courses picked from the community.

## AI and API

- [Using fivemad with an AI assistant](https://fivemad.com/docs/ai.md): Read any fivemad docs page as Markdown, hand a page to ChatGPT, Claude or Cursor in one click, and point an assistant at the whole site with llms.txt.
- [Public API](https://fivemad.com/docs/ai/api.md): Fetch our GTA V datasets, search the docs, resolve a joaat hash and call our flag calculators over plain HTTP, with examples in Lua, JavaScript, Python and curl.

## Code optimisation

- [Code optimisation](https://fivemad.com/docs/code-optimisation.md): Writing FiveM Lua that stays fast and readable: scope, functions, tables, loops, natives, events, exports and error handling, with the reason behind each rule.
- [Measure before you optimise](https://fivemad.com/docs/code-optimisation/measure-first.md): How to find the code that actually costs you: resmon, the FiveM profiler, tick times, and why the shape of a loop matters more than any single line.
- [Scope, files and layout](https://fivemad.com/docs/code-optimisation/scope-and-structure.md): Keep FiveM Lua local by default: the visibility ladder from local function to net event, splitting client and server files, naming rules and manifest load order.
- [Functions that stay small](https://fivemad.com/docs/code-optimisation/functions.md): One job per function, names that say what happens, parameters that do not grow, the cost of a function literal in a hot path, and annotating exports.
- [Variables, constants and enums](https://fivemad.com/docs/code-optimisation/variables.md): Naming that survives review, where to declare things, why locals beat globals in Lua, and replacing piles of booleans with a single state value.
- [Conditionals and early returns](https://fivemad.com/docs/code-optimisation/conditionals.md): Guard clauses that keep functions flat, returning the expression instead of true or false, the or default trap, and ordering checks so the cheap one runs first.
- [Tables and loops](https://fivemad.com/docs/code-optimisation/tables-and-loops.md): Building arrays without table.insert, numeric for against pairs, caching repeated lookups, keeping a size counter, and not generating garbage every frame.
- [Cheap native calls](https://fivemad.com/docs/code-optimisation/natives.md): Backtick hashes, joaat, vector distance instead of GetDistanceBetweenCoords, caching ped handles safely, and keeping per frame natives behind a gate.
- [Events that stay cheap and safe](https://fivemad.com/docs/code-optimisation/events.md): Naming events so handlers stay independent, when a function beats an event, RegisterNetEvent against AddEventHandler, payload size, latent events and the source trap.
- [Exports and resource boundaries](https://fivemad.com/docs/code-optimisation/exports.md): What an export call really costs in FiveM, keeping payloads small without making the API chatty, shared files that skip the boundary, and naming an API people can use.
- [Error handling](https://fivemad.com/docs/code-optimisation/error-handling.md): Assertions for bugs, returned errors for expected failures, checking preconditions up front, using pcall honestly and writing messages you can actually debug from.

## Video tutorials

- [All courses](https://fivemad.com/docs/videos.md): A hand-picked training set of FiveM YouTube tutorials, grouped into courses from first server to Lua, NUI, streaming assets, CodeWalker and Blender with Sollumz.
- [Run your first server](https://fivemad.com/docs/videos/run-your-first-server.md): From zero to a public FiveM server: license key, txAdmin, database, port forwarding, a Linux VPS, updates and vMenu for a quick freeroam setup.
- [txAdmin in depth](https://fivemad.com/docs/videos/txadmin-in-depth.md): Get more out of txAdmin: the in-game menu, admin permissions, the Discord bot and status embed, whitelisting and everyday moderation.
- [Frameworks: QBCore, Qbox and ESX](https://fivemad.com/docs/videos/frameworks.md): Pick and install a roleplay framework with txAdmin, then add jobs, items and ox_inventory. Covers QBCore, Qbox and ESX Legacy.
- [Lua scripting for FiveM: the basics](https://fivemad.com/docs/videos/lua-scripting-basics.md): Write your first resources: editor setup, the manifest, commands, natives, client and server events, callbacks and threads.
- [Scripting in depth](https://fivemad.com/docs/videos/scripting-in-depth.md): Next steps after the basics: state bags, routing buckets, MySQL, exports, advanced Lua, complete job and crafting systems, plus JavaScript and C#.
- [NUI and user interfaces](https://fivemad.com/docs/videos/nui-and-uis.md): Build HUDs, menus and loading screens with HTML, CSS and JavaScript, then move up to React.
- [Streaming assets: vehicles, clothing and MLOs](https://fivemad.com/docs/videos/streaming-vehicles-clothing-maps.md): Install and fix custom cars, understand vehicle meta files, optimise textures, add clothing packs and install MLO interiors.
- [CodeWalker and map editing](https://fivemad.com/docs/videos/codewalker-map-editing.md): Use CodeWalker to explore the map, create and edit YMAPs, add and remove props, merge maps and understand MLO collisions and occlusion.
- [3D modelling with Blender and Sollumz](https://fivemad.com/docs/videos/blender-sollumz.md): Make and edit GTA V models in Blender with Sollumz: props, collisions, lights, vehicles, clothing and full MLO interiors.
- [Performance, security and workflow](https://fivemad.com/docs/videos/performance-security-workflow.md): Measure and fix slow resources, write code cheaters can't abuse, and manage your server files with git.

## Getting started

- [Getting started with FiveM servers and development](https://fivemad.com/docs/getting-started.md): What FiveM, FXServer, txAdmin and Cfx.re are, how the pieces fit together, and the order to read these docs in to run a server or write scripts.
- [FiveM glossary](https://fivemad.com/docs/getting-started/glossary.md): Plain definitions of the FiveM terms you will meet: resources, artifacts, OneSync, natives, state bags, NUI, ymap, ytyp, ydr, yft, ytd, streaming, convars, ACE.
- [Requirements: hardware, OS and the rules](https://fivemad.com/docs/getting-started/requirements.md): What you need to run a FiveM server: realistic hardware sizing, Windows or Linux, network, and the legal basics of the Cfx.re license, Rockstar content and Tebex.

## Server setup

- [Server setup overview](https://fivemad.com/docs/server-setup.md): The ways to set up a FiveM server (txAdmin, vanilla, hosting provider), what you download, the folder layout, and the difference between Legacy and Enhanced.
- [Set up a FiveM server on Windows](https://fivemad.com/docs/server-setup/windows.md): Step by step: download the FXServer artifact, extract it, run txAdmin, link your Cfx.re account, deploy a recipe with your license key, and connect. Plus the vanilla way.
- [Set up a FiveM server on Linux](https://fivemad.com/docs/server-setup/linux.md): Run FXServer and txAdmin on Ubuntu or Debian: dependencies, a dedicated user, the Linux artifact, a systemd service or tmux, the ufw firewall and MariaDB.
- [server.cfg explained line by line](https://fivemad.com/docs/server-setup/server-cfg.md): What every common server.cfg line does: endpoints, hostname, tags, license key, slots, game build, OneSync, ensure order, convars, ACE permissions and splitting configs.
- [Updating FXServer artifacts safely](https://fivemad.com/docs/server-setup/updating-artifacts.md): How to pick a server artifact, avoid broken builds, update on Windows and Linux without losing data, test first, and roll back when something goes wrong.
- [Ports and networking](https://fivemad.com/docs/server-setup/ports-and-networking.md): Which ports FiveM and txAdmin use, how to port forward at home, why a server is missing from the list, multiple servers on one IP, proxies and the listing convars.
- [Database setup: MariaDB, HeidiSQL and oxmysql](https://fivemad.com/docs/server-setup/database.md): Install MariaDB on Windows or Linux, manage it with HeidiSQL, connect FiveM with oxmysql and mysql_connection_string, import SQL files and back up your data.
- [Common server errors and fixes](https://fivemad.com/docs/server-setup/common-errors.md): Fixes for the errors every FiveM server owner hits: license key, resources that won't load, server not in list, game build and pure mode, oversized assets, escrow and SQL.
- [Security basics for FiveM servers](https://fivemad.com/docs/server-setup/security.md): Lock down a FiveM server: ACE permissions, txAdmin accounts and 2FA, a private database, secrets out of git, safe events, leaked resources, entity lockdown and backups.

## txAdmin

- [txAdmin overview](https://fivemad.com/docs/txadmin.md): What txAdmin is and does: the recipe deployer, web panel, in-game menu, bans and warns, whitelist, scheduled restarts, Discord bot, live console and monitoring.
- [txAdmin first setup and the deployer](https://fivemad.com/docs/txadmin/first-setup.md): Walk through txAdmin's first start: the PIN, linking your Cfx.re account, choosing a recipe or existing server, the deployer steps, license key, database and first launch.
- [txAdmin recipes explained](https://fivemad.com/docs/txadmin/recipes.md): The anatomy of a txAdmin recipe: metadata, $engine and $onesync, context variables, every task action (download_github, unzip, move_path, query_database...) with examples.
- [Writing your own txAdmin recipe](https://fivemad.com/docs/txadmin/writing-recipes.md): Build a txAdmin recipe step by step: an example that installs oxmysql, ox_lib, ox_target, pma-voice and a starter resource, creates a table and writes server.cfg.
- [Popular txAdmin recipes](https://fivemad.com/docs/txadmin/popular-recipes.md): Every recipe in the official txAdmin-recipes index: what CFX Default, QBCore, Qbox, ESX Legacy, vMenu and the others install, what they need, and how to deploy them.
- [Everyday admin with txAdmin](https://fivemad.com/docs/txadmin/everyday-admin.md): Run a FiveM server day to day with txAdmin: players, warns, kicks and bans, whitelist modes, scheduled restarts, live console, logs, backups and admin permissions.
- [txAdmin Discord bot](https://fivemad.com/docs/txadmin/discord-bot.md): Set up txAdmin's built in Discord bot: create the application, token and intents, invite it, add the live status embed with /status add, and use Discord whitelisting.
- [Updating txAdmin and FXServer](https://fivemad.com/docs/txadmin/updating.md): txAdmin ships inside FXServer, so updating the artifact updates txAdmin. How to update, what to back up, migrating old start.bat configs to TXHOST variables, and rollbacks.

## Development

- [Start developing for FiveM](https://fivemad.com/docs/development.md): How to start writing FiveM scripts: choosing Lua, JavaScript or C#, setting up VS Code with Lua language server and FiveM natives, git, a dev server and a learning plan.
- [Your first FiveM resource](https://fivemad.com/docs/development/first-resource.md): Build a FiveM resource from scratch: folder, fxmanifest.lua, client and server scripts, a /hello command, a car spawner, ensure and restart, and reading the F8 console.
- [Client, server and events](https://fivemad.com/docs/development/client-server-events.md): How FiveM client and server scripts talk: local and net events, TriggerServerEvent, TriggerClientEvent, source, callbacks with ox_lib, and why you never trust the client.
- [Natives: talking to the game](https://fivemad.com/docs/development/natives.md): What FiveM natives are, how to find them on docs.fivem.net, read their signatures, use hashes and joaat, handle entities, and a cheat sheet of the natives you use most.
- [Lua, JavaScript and C#: one script, three runtimes](https://fivemad.com/docs/development/runtimes.md): FiveM runs three scripting runtimes. What a native call, a wait loop, a hash, a vector and an event look like in each, and where Lua has no clean equivalent.
- [Threads and performance](https://fivemad.com/docs/development/threads-performance.md): Write FiveM scripts that don't eat frames: CreateThread and Wait, dynamic waits, distance checks, ox_lib points, resmon, the profiler and reading its results.
- [State bags, OneSync and entity ownership](https://fivemad.com/docs/development/state-bags-onesync.md): Sync data the FiveM way: GlobalState, Player and Entity state bags, change handlers, replication rules, OneSync entity ownership, server side entities and routing buckets.
- [NUI basics: HTML interfaces in FiveM](https://fivemad.com/docs/development/nui.md): Build FiveM UIs with NUI: ui_page and files, SendNUIMessage, RegisterNUICallback with fetch, SetNuiFocus, dev tools, React or Vue with a build step, and common pitfalls.
- [Exports and dependencies](https://fivemad.com/docs/development/exports-dependencies.md): Share code between FiveM resources with exports, call framework functions, declare dependencies in fxmanifest, import @resource files and bridge frameworks.
- [Debugging FiveM resources](https://fivemad.com/docs/development/debugging.md): Find and fix bugs in FiveM scripts: read SCRIPT ERROR lines, print and dump tables, the F8 and server consoles, NUI devtools, common Lua errors and a debugging routine.
- [Streaming custom assets](https://fivemad.com/docs/development/streaming-assets.md): Add custom vehicles, clothing, props, maps, MLOs and sounds to FiveM: the stream folder, data_file entries, YDR, YFT, YTD, YMAP and YTYP files, naming rules and size limits.
- [The navmesh at runtime](https://fivemad.com/docs/development/navmesh.md): What a resource can and cannot do to the GTA V navmesh: the 17 navmesh natives, blocking objects, disabling areas, streaming regions, and why peds refuse to walk on a custom map.
- [Publishing a FiveM resource](https://fivemad.com/docs/development/publishing.md): Release your FiveM resource properly: structure, versioning, README, license, config, the forum.cfx.re release rules, and selling on Tebex with Cfx.re asset escrow.

## Resources

- [Installing and ordering resources](https://fivemad.com/docs/resources.md): How to install FiveM resources: where the folder goes, ensure vs start, category folders, load order, dependencies, SQL and items, updating, and what to check first.
- [Recommended open source resources](https://fivemad.com/docs/resources/recommended.md): Well known, maintained open source FiveM resources: oxmysql, ox_lib, ox_target, ox_inventory, pma-voice, vMenu, bob74_ipl, screencapture and more, with install notes.
- [Installing maps, MLOs and clothing packs](https://fivemad.com/docs/resources/maps-mlos-clothing.md): Install custom maps, MLO interiors and clothing packs on a FiveM server: folder layout, manifests, conflicts, game builds, add-on vs replace clothing and texture sizes.
- [Installing vehicle packs](https://fivemad.com/docs/resources/vehicle-packs.md): Add custom cars to a FiveM server: FiveM ready vs singleplayer add-ons, folder layout, data_file lines, vehicle names, framework shops, ID clashes and textures.

## Frameworks

- [Frameworks compared: QBCore, Qbox, ESX and more](https://fivemad.com/docs/frameworks.md): Do you need a FiveM framework? An honest comparison of QBCore, Qbox, ESX Legacy, ox_core, ND Core and vRP: what each gives you, pros, cons, and how to choose.
- [QBCore quick start](https://fivemad.com/docs/frameworks/qbcore.md): Install QBCore with the txAdmin recipe, understand its folders, make yourself admin, add a job and a usable item, write a small QBCore script, and avoid common pitfalls.
- [Qbox quick start](https://fivemad.com/docs/frameworks/qbox.md): Install Qbox with the txAdmin recipe, understand qbx_core and the ox stack, make yourself admin, add a job and an ox_inventory item, write a small Qbox script, avoid pitfalls.
- [ESX Legacy quick start](https://fivemad.com/docs/frameworks/esx.md): Install ESX Legacy with the official txAdmin recipe, learn its structure, make yourself admin, add a job and an item in the database, write a small ESX script, avoid pitfalls.

## Tools

- [Tool guides](https://fivemad.com/docs/tools.md): A guide for every fivemad tool: what it is for, every option, what it exports and how to use the result in your FiveM resource or server.
- [Generators](https://fivemad.com/docs/tools/generators.md): How to use the four fivemad generators: roleplay characters, server names with hostname lines, gangs with framework exports and script ideas.
- [Inventory Icons](https://fivemad.com/docs/tools/inventory-icons.md): Make trimmed, transparent inventory icons from game prop pictures or your own images and export a zip with items.lua for ox_inventory, qb-inventory and more.
- [Script Thumbnail Creator](https://fivemad.com/docs/tools/script-thumbnail-creator.md): Make release thumbnails for forum.cfx.re, YouTube, Discord, Tebex and GitHub from your screenshots: nine templates, eight sizes, PNG or JPG export.
- [Item Icons](https://fivemad.com/docs/tools/item-icons.md): What Item Icons is: fivemad's sister site with 18,000+ FiveM and RedM item pictures, and how to use them with the Inventory Icons tool.
- [Snaily Creator](https://fivemad.com/docs/tools/snaily-creator.md): Dress up Snaily, the fivemad mascot: colours, moods, hats, shades, chains, outfits, shell stickers, props and backdrops, exported as PNG or SVG.
- [Crosshair Generator](https://fivemad.com/docs/tools/crosshair-generator.md): Design a FiveM crosshair and export it as a NUI overlay resource, a transparent PNG, an SVG or the real cl_crosshair console settings.
- [Custom Font Maker](https://fivemad.com/docs/tools/custom-font-maker.md): Turn a TTF or OTF into the Scaleform .gfx font GTA V streams, preview it on a real game screen, and download a ready FiveM resource with the registration and draw code.
- [server.cfg Generator](https://fivemad.com/docs/tools/server-cfg-generator.md): Build a working FiveM server.cfg from a form: endpoints, OneSync, game build, keys, oxmysql, pma-voice, resource load order and ACE permissions.
- [fxmanifest.lua Generator](https://fivemad.com/docs/tools/fxmanifest-generator.md): Generate a valid fxmanifest.lua: fx_version, game, lua54, shared, client and server scripts, NUI page, files, data_file lines, dependencies and exports.
- [Vehicle Handling Editor](https://fivemad.com/docs/tools/vehicle-handling-editor.md): Tune CHandlingData with sliders, import an existing handling.meta, toggle flag bits, and export handling.meta, runtime code in four languages, or a carcols.meta mod kit.
- [Clothing Designer](https://fivemad.com/docs/tools/clothing-designer.md): How to open a clothing .ydd or .ydr with its .ytd files, paint on the 3D model or the UV layout with layers, and export ready to stream .ytd textures.
- [3D Tattoo Editor](https://fivemad.com/docs/tools/tattoo-editor.md): How to place a tattoo on the freemode ped in 3D by zone, tune its uvPos, scale and rotation, and get the overlay XML or a Durty Cloth Tool project out of it.
- [Drawable Studio](https://fivemad.com/docs/tools/drawable-studio.md): How to open a CodeWalker XML export (.ydr, .ydd, .yft) in 3D, check geometry and textures, edit shaders and lights, paint textures and export the result.
- [Weapons Meta Editor](https://fivemad.com/docs/tools/weapons-meta-editor.md): Edit weapons.meta from the game's default values: damage, fire rate, range, falloff, clip size, recoil and flags, then export the meta files and fxmanifest.
- [YTYP Creator](https://fivemad.com/docs/tools/ytyp-creator.md): Build a .ytyp archetype file for custom props: drop CodeWalker model XML, get measured bounds, pick flags and lodDist, then convert and stream it.
- [Texture Editor](https://fivemad.com/docs/tools/texture-editor.md): How to open a .ytd or a CodeWalker .ytd.xml export, preview and replace textures, pick the compression and mips, and export a new .ytd for your stream folder.
- [Vehicle Sirens Editor](https://fivemad.com/docs/tools/vehicle-sirens.md): Edit carcols.meta siren settings with a live preview and a 32 step pattern grid, export carcols.meta, and find free or clashing siren ids on your server.
- [Vehicle Pack Validator](https://fivemad.com/docs/tools/vehicle-pack-validator.md): Check a FiveM vehicle resource for broken links between metas, stream files and fxmanifest. Every check it runs, what it means and how to fix it.
- [Mod Converter](https://fivemad.com/docs/tools/mod-converter.md): Turn a GTA5-Mods car, weapon, ped or clothing pack into a FiveM resource: what it accepts, what it writes, how it tells the kinds apart, and what to do with an encrypted dlc.rpf.
- [Vehicle & Weapon Merger](https://fivemad.com/docs/tools/vehicle-weapon-merger.md): Merge a pile of single car and single gun resources into one vehicle resource and one weapon resource: what collides, the rule for each clash, and what one big resource costs you.
- [YMT Creator](https://fivemad.com/docs/tools/ymt-creator.md): Turn a folder of addon clothing .ydd and .ytd files into a streamable pack: ped variation .ymt, shop meta, fxmanifest and correctly renamed stream files.
- [YTD Optimizer](https://fivemad.com/docs/tools/ytd-optimizer.md): How to shrink many .ytd files at once: pick a preset or your own size caps, review the plan per texture, run it and put the smaller files back in stream.
- [Folders to YTD](https://fivemad.com/docs/tools/folders-to-ytd.md): Drop folders of PNGs and get one .ytd texture dictionary per folder, compressed and mipmapped in the browser, ready to stream from a FiveM resource.
- [Native Audio Builder](https://fivemad.com/docs/tools/native-audio-builder.md): Turn WAV, MP3 or OGG files into a FiveM native audio resource and play them from Lua on the UI, on an entity or at a position, synced if you want.
- [YMAP Builder](https://fivemad.com/docs/tools/ymap-builder.md): Place props by coordinates or in a 3D world, get CodeWalker ready .ymap XML with correct rotations and extents, and stream it from a FiveM resource.
- [YND Traffic Path Editor](https://fivemad.com/docs/tools/ynd-editor.md): Open GTA V path node files on the real map, move nodes, edit links and lane counts, and download real binary .ynd files ready for a FiveM stream folder.
- [Distant LOD Light Editor](https://fivemad.com/docs/tools/lod-light-editor.md): Place, move and recolour GTA V distant LOD lights on the real map at night in your browser, then export the ymap pair and a ready FiveM resource.
- [Minimap Editor](https://fivemad.com/docs/tools/minimap-editor.md): Shape, place and style the FiveM minimap in the browser, see it over the real Los Santos map, and download a ready resource with the mask textures and Lua.
- [Zone Creator](https://fivemad.com/docs/tools/zone-creator.md): Draw a zone on the real GTA V map in 2D or 3D and copy ready code for ox_lib zones, PolyZone, ox_target and qb-target, or the points as Lua or JSON.
- [Timecycle Editor](https://fivemad.com/docs/tools/timecycle-editor.md): Edit a GTA V timecycle modifier parameter by parameter in the browser, see it on the real Los Santos world, and download a FiveM resource that ships it.
- [Map Tile Builder](https://fivemad.com/docs/tools/map-tile-builder.md): Cut artwork into the GTA V minimap and pause map tiles in the browser, place it on the real world map, and download the .ytd files as a ready FiveM resource.
- [Ped Relationship Editor](https://fivemad.com/docs/tools/relationship-editor.md): Set how every group of peds in GTA V feels about every other one on a matrix, then download a FiveM resource that applies it on every client and keeps it in sync.
- [Server Status Checker](https://fivemad.com/docs/tools/server-status-checker.md): Check whether a FiveM server is online by IP:port or cfx.re join code, and read its players, game build, OneSync, resources and server variables.
- [Profiler Analyzer](https://fivemad.com/docs/tools/profiler-analyzer.md): Record a FiveM profile with profiler record and saveJSON, then read time per resource, worst frames, hitches, a flame graph and findings with fixes.
- [Cfx Blacklist Checker](https://fivemad.com/docs/tools/cfx-blacklist-checker.md): Check whether an IP, host name or cfx.re join code is on the Cfx.re platform blacklist, up to 20 at once, before you rent a VPS or when a server vanishes.
- [Server Status Badge](https://fivemad.com/docs/tools/server-uptime-badge.md): Build a live SVG badge, card or signature square with your FiveM server's logo, player count and a Join button, and embed it with Markdown, HTML or BBCode.
- [FXServer artifacts](https://fivemad.com/docs/tools/artifacts.md): Find the recommended FXServer artifact, see which builds have known issues, download for Windows or Linux and update your server step by step.
- [joaat Hash Calculator](https://fivemad.com/docs/tools/hash-calculator.md): Turn any model, weapon or asset name into its GTA V joaat hash in unsigned, signed and hex form, one at a time or as a bulk Lua table.
- [Driving Style Calculator](https://fivemad.com/docs/tools/driving-style-calculator.md): Build and decode the driving style integer for TaskVehicleDriveToCoord, TaskVehicleDriveWander and SetDriveTaskDrivingStyle, with every flag bit listed.
- [Animation Flags Calculator](https://fivemad.com/docs/tools/animation-flags-calculator.md): Build and decode the flag value for TaskPlayAnim: every eScriptedAnimFlags bit, common presets and a ready Lua snippet with dict loading and a toggle command.
- [Warning Screen Buttons](https://fivemad.com/docs/tools/warning-buttons.md): Pick the buttons for a GTA V alert screen, get the flag value for SetWarningMessageWithHeader, preview it and copy a Lua snippet that reads the input.
- [Draw Text Colors](https://fivemad.com/docs/tools/text-colors.md): Preview GTA V tilde colour and formatting codes live in DrawText, notifications and help text, and FiveM chat caret codes, with ready Lua snippets.
- [Screen Effects Browser](https://fivemad.com/docs/tools/screen-effects.md): Find the right GTA V timecycle modifier or animpostfx effect, see what it does before you try it, and copy the Lua that switches it on.
- [Model & Hash Browser](https://fivemad.com/docs/tools/model-hash-browser.md): 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.
- [Interactive Map](https://fivemad.com/docs/tools/interactive-map.md): Find any spot on the GTA V map, copy exact vector3 and vector4 coordinates, drop pins, measure distances and share links to a location.
- [3D world](https://fivemad.com/docs/tools/world-3d.md): Move through GTA V in your browser with a freecam or on foot: every key and mouse control, the quality settings, what is shown, and tips for a smooth frame rate.
- [Blip, Marker & Checkpoint Browser](https://fivemad.com/docs/tools/blip-marker-browser.md): Pick a GTA V blip sprite and colour, a DrawMarker type or a race checkpoint by picture, tune it, and copy a ready FiveM Lua snippet.
- [Weapon Stats & Components](https://fivemad.com/docs/tools/weapon-stats.md): Look up any GTA V weapon: hashes, group, ammo type, max ammo, damage type, flags, every component, livery and tint, plus a Lua loadout snippet.
- [Objects / Props List](https://fivemad.com/docs/tools/objects-list.md): Find any GTA V prop by name, tag or hash, check it in 3D with its real size, and copy the model name, hashes and a CreateObject snippet.
- [Particle Effects List](https://fivemad.com/docs/tools/particles-list.md): Search all 2,900+ GTA V particle effects with their ptfx dictionaries and build a working Lua snippet: one-shot, networked or looped.
- [Particle videos](https://fivemad.com/docs/tools/particle-videos.md): Watch video previews of 2,300+ GTA V particle effects, filter by dictionary, and copy a ready FiveM Lua snippet for the effect you like.
- [Sound Browser](https://fivemad.com/docs/tools/sound-browser.md): Search GTA V sound names and sound sets, listen to them in the browser, and copy a working PlaySoundFrontend, PlaySoundFromCoord or PlaySoundFromEntity call.
- [Controls Reference](https://fivemad.com/docs/tools/controls-reference.md): Find any GTA V control index by number, INPUT_ name or key, press a real key to see every control on it, and copy detect, disable or RegisterKeyMapping code.
- [Scaleform Functions](https://fivemad.com/docs/tools/scaleform-reference.md): Search every GTA V scaleform movie, look at its first frame, see each function with its real parameter names, and build a ready Lua call with BeginScaleformMovieMethod and a draw loop.
- [Player Stats List](https://fivemad.com/docs/tools/player-stats.md): Search 3,025 GTA V stat names by name or description, see their type, scope and hash, and copy the right StatGetInt, StatSetInt or StatSetFloat call.
- [Parachutes & Smoke Trails](https://fivemad.com/docs/tools/parachutes.md): Every GTA V parachute canopy tint and smoke trail colour with indices, text labels and RGB values, plus a snippet builder for the parachute natives.
- [Game Damage Events](https://fivemad.com/docs/tools/damage-events.md): The CEventNetworkEntityDamage payload from gameEventTriggered explained index by index, plus generated clean kill, death and vehicle events for your resource.
- [Animation Browser](https://fivemad.com/docs/tools/animations.md): Browse every GTA V animation dictionary and clip, search the whole set, watch any of them on a freemode ped and copy ready TaskPlayAnim Lua.
- [Cutscene Browser](https://fivemad.com/docs/tools/cutscenes.md): Look up any GTA V cutscene: the real name for RequestCutscene, its actors, length, camera cuts, subtitles and world position, plus a 3D preview of the exported ones.
- [Interiors, IPLs and ymaps](https://fivemad.com/docs/tools/interiors.md): Find any GTA V MLO interior with a cutaway render, its rooms, portals and entity sets, plus every IPL and ymap name with ready RequestIpl and teleport Lua.
- [Ped Decorations](https://fivemad.com/docs/tools/decorations.md): Find any GTA V tattoo, badge or decal, see it on a ped, and copy the collection and overlay hashes for AddPedDecorationFromHashes.
- [YNV Navmesh Viewer](https://fivemad.com/docs/tools/navmesh-viewer.md): Open a GTA V .ynv navmesh over the real map and in 3D, colour the polygons by flag, inspect one polygon, and see which neighbouring cells its edges point into.
- [Giveaways](https://fivemad.com/docs/tools/giveaways.md): How fivemad giveaways work for players: log in with Discord, finish the tasks, enter, and how winners are picked and contacted.
