How to Change Ped Models in FiveM (Player & NPC Models)

How to change player and NPC ped models in FiveM — SetPlayerModel, freemode vs story peds, dressing peds, and spawning NPCs.

Changing player and NPC models is core to FiveM roleplay — from freemode character creators to story-character NPCs and custom ped models. This guide covers how to change ped models in FiveM and dress them.

Changing the player model

Swapping the player’s body uses a request-load-set pattern:

local model = GetHashKey('a_m_y_hipster_01')
RequestModel(model)
while not HasModelLoaded(model) do Wait(0) end
SetPlayerModel(PlayerId(), model)
SetModelAsNoLongerNeeded(model)

Always call SetModelAsNoLongerNeeded afterward so the game can free memory. Look up any model’s name and JOAAT hash in our ped model database (860 models).

Freemode vs story peds

mp_m_freemode_01 and mp_f_freemode_01 are the customisable GTA Online base models — they accept clothing drawables, head blends, overlays and tattoos, so they’re what you use for RP character creators. Story peds (cs_, ig_) have fixed appearances and are best for canon NPCs.

Dressing a ped

Once you have a freemode ped, clothing is applied per component slot with SetPedComponentVariation (and props with SetPedPropIndex). Component 11 is the jacket, 4 the legs, 6 the shoes, and so on. Our ped components & props tool documents every slot and generates the exact calls from your drawable/texture IDs.

Spawning NPCs

For non-player peds, use CreatePed(type, model, x, y, z, heading, networked, scriptHostPed) — request and load the model first, same as above. Type 4 is a normal human ped.

Frequently asked questions

How do I change my ped model in FiveM?

Request the model, wait for it to load, call SetPlayerModel, then SetModelAsNoLongerNeeded. Find model names and hashes in our ped database.

What’s the best ped model for a character creator?

The freemode models (mp_m_freemode_01 / mp_f_freemode_01) — they accept the full range of clothing, overlays and head blends.

How do I change a ped’s clothes in FiveM?

Use SetPedComponentVariation per component slot and SetPedPropIndex for props — our ped components tool generates the code.

Ready to play?

Run your own FiveM server with XGamingServer

Spin up an always-on FiveM server your friends can join in minutes — no port-forwarding, no tech headaches.

99.9%Uptime SLA
< 5 minInstant setup
24/7Human support
DDoSProtected
Instant setup Your server is live in minutes with a one-click control panel.
Mods & plugins Install mods, plugins and workshop content in a few clicks.
DDoS protected Enterprise DDoS mitigation keeps your server online 24/7.
Low-latency hardware Premium CPUs & NVMe SSDs for lag-free multiplayer.
Free backups Automatic backups so your world is never lost.
Real human support Gamers helping gamers — 24/7, no bots, no scripts.

Pick your FiveM plan & play in minutes

See all plans
Starter $8.40/mo 4 GB RAM Renews $12/mo Buy now
Rookie $17.50/mo 8 GB RAM Renews $25/mo Buy now
Pro $24.50/mo 12 GB RAM Renews $35/mo Buy now