Setup Guide
Complete guide to getting Ham Mafia running with FiveM — from account creation to your first script.
Prerequisites
Installation
Go to the Ham Mafia Dashboard and click “Register now” to create your account.
In the dashboard, go to Settings, scroll down, and redeem your product key.
In the dashboard, go to Download, click “Download Loader”, and extract the zip to a folder of your choice.
The loader may be flagged as a false positive. Add the Ham Mafia folder to your antivirus exclusions before extracting.
Open FiveM (don’t connect to a server yet), run ntoskrnl.exe from the extracted folder, log in, and inject Ham from the main menu. After injection, connect to a server — once loaded in, you can launch Vanity.
Video Tutorial
Using the GUI
Lua Executor
Run Lua scripts in-game
Dumper
Dump server resources & data
Event Logger
Monitor & block server events
Chat
Ham user chat & settings
DEL (Delete) to toggle the Ham Mafia GUI menu.Writing Scripts
Ham Mafia uses Lua. The API is accessible via the Ham or ham global tables.
local username = Ham.getName()
print("Hello, " .. username)
-- Draw text on screen
Ham.drawText("Welcome!", {100, 100}, {255, 255, 255, 255}, 16)See the API Reference for the full list of available functions.
