MP_A_M_M_ASBMINERS_02
MP_A_M_M_ASBMINERS_02 is a RedM ped model, a multiplayer (Red Dead Online) character. It has 2 outfit presets (index 0 to 1) for EquipMetaPedOutfitPreset. Its model hash is 0xBDD36DB5 (-1110217291 as a signed integer). After CreatePed, give it an outfit or it spawns invisible.
Hash and facts
| Name | MP_A_M_M_ASBMINERS_02 |
|---|---|
| Hash (hex) | 0xBDD36DB5 |
| Signed | -1110217291 |
| Unsigned | 3184750005 |
| Outfit presets | 2 (index 0 to 1) |
Spawn it
local model = 0xBDD36DB5 -- MP_A_M_M_ASBMINERS_02
RequestModel(model, false)
while not HasModelLoaded(model) do Wait(0) end
local coords = GetEntityCoords(PlayerPedId(), true, true)
local ped = CreatePed(model, coords.x + 2.0, coords.y, coords.z, 0.0, true, true, false, false)
-- RedM peds spawn invisible until they get an outfit
Citizen.InvokeNative(0x283978A15512B2FE, ped, true) -- _SET_RANDOM_OUTFIT_VARIATION
-- or a fixed outfit preset, index 0 to 1:
-- Citizen.InvokeNative(0x77FF8D35EEC6BBC4, ped, 0, false) -- _EQUIP_META_PED_OUTFIT_PRESET
SetModelAsNoLongerNeeded(model)const Delay = (ms) => new Promise((r) => setTimeout(r, ms))
async function spawn() {
const model = -1110217291 // 0xBDD36DB5, MP_A_M_M_ASBMINERS_02
RequestModel(model, false)
while (!HasModelLoaded(model)) await Delay(0)
const [x, y, z] = GetEntityCoords(PlayerPedId(), true, true)
const ped = CreatePed(model, x + 2.5, y, z, 0.0, true, true, false, false)
// RedM peds spawn invisible until they get an outfit
Citizen.invokeNative("0x283978A15512B2FE", ped, true) // _SET_RANDOM_OUTFIT_VARIATION
// or a fixed outfit preset, index 0 to 1:
// Citizen.invokeNative("0x77FF8D35EEC6BBC4", ped, 0, false) // _EQUIP_META_PED_OUTFIT_PRESET
SetModelAsNoLongerNeeded(model)
return ped
}// using CitizenFX.Core; using CitizenFX.Core.Native;
public async Task Spawn()
{
uint model = 0xBDD36DB5; // MP_A_M_M_ASBMINERS_02
Function.Call((Hash)0xFA28FE3A6246FC30, model, false); // REQUEST_MODEL
while (!Function.Call<bool>((Hash)0x1283B8B89DD5D1B6, model)) // HAS_MODEL_LOADED
await BaseScript.Delay(0);
int ped = Function.Call<int>((Hash)0x096275889B8E0EE0); // PLAYER_PED_ID
Vector3 pos = Function.Call<Vector3>((Hash)0xA86D5F069399F44D, ped, true, true); // GET_ENTITY_COORDS
int npc = Function.Call<int>((Hash)0xD49F9B0955C367DE, model, pos.X + 2f, pos.Y, pos.Z, 0f, true, true, false, false); // CREATE_PED
// RedM peds spawn invisible until they get an outfit
Function.Call((Hash)0x283978A15512B2FE, npc, true); // _SET_RANDOM_OUTFIT_VARIATION
// or a fixed outfit preset, index 0 to 1:
// Function.Call((Hash)0x77FF8D35EEC6BBC4, npc, 0, false); // _EQUIP_META_PED_OUTFIT_PRESET
Function.Call((Hash)0x4AD96EF928BD4F9A, model); // SET_MODEL_AS_NO_LONGER_NEEDED
}Related peds
- MP_A_M_M_ASBMINERS_01
- MP_A_M_M_LOM_ASBMINERS_01
- mp_a_m_m_saloonpatrons_02
- MP_A_M_M_COACHGUARDS_01
- MP_A_M_M_FOS_COACHGUARDS_01
- MP_A_M_M_JAMESONGUARD_01
- mp_a_m_m_laboruprisers_01
- mp_a_m_m_moonshinemakers_01
- MP_A_M_M_PROTECT_ENDFLOW_BLACKWATER_01
- mp_a_m_m_saloonband_males_01
- mp_a_m_m_saloonpatrons_01
- mp_a_m_m_saloonpatrons_03
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.