mp005_s_cn_1792_qlp
mp005_s_cn_1792_qlp is a RedM object (prop) model. It ships in the lev_des folder of the mp005_s_mp_coins.rpf archive. Its model hash is 0xEE6B558B (-294955637 as a signed integer). Load it with RequestModel, then place it with CreateObject.
Hash and facts
| Name | mp005_s_cn_1792_qlp |
|---|---|
| Hash (hex) | 0xEE6B558B |
| Signed | -294955637 |
| Unsigned | 4000011659 |
| Folder | lev_des |
| Archive | mp005_s_mp_coins.rpf.rpf |
Spawn it
local model = 0xEE6B558B -- mp005_s_cn_1792_qlp
RequestModel(model, false)
while not HasModelLoaded(model) do Wait(0) end
local coords = GetEntityCoords(PlayerPedId(), true, true)
local object = CreateObject(model, coords.x, coords.y + 1.5, coords.z, true, true, false, false, false)
PlaceObjectOnGroundProperly(object, false)
SetModelAsNoLongerNeeded(model)const Delay = (ms) => new Promise((r) => setTimeout(r, ms))
async function spawn() {
const model = -294955637 // 0xEE6B558B, mp005_s_cn_1792_qlp
RequestModel(model, false)
while (!HasModelLoaded(model)) await Delay(0)
const [x, y, z] = GetEntityCoords(PlayerPedId(), true, true)
const object = CreateObject(model, x, y + 1.5, z, true, true, false, false, false)
PlaceObjectOnGroundProperly(object, false)
SetModelAsNoLongerNeeded(model)
return object
}// using CitizenFX.Core; using CitizenFX.Core.Native;
public async Task Spawn()
{
uint model = 0xEE6B558B; // mp005_s_cn_1792_qlp
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 obj = Function.Call<int>((Hash)0x509D5878EB39E842, model, pos.X, pos.Y + 1.5f, pos.Z, true, true, false, false, false); // CREATE_OBJECT
Function.Call((Hash)0x58A850EAEE20FAA3, obj, false); // PLACE_OBJECT_ON_GROUND_PROPERLY
Function.Call((Hash)0x4AD96EF928BD4F9A, model); // SET_MODEL_AS_NO_LONGER_NEEDED
}Related objects
- mp005_s_cn_1792_1866_5cnick
- mp005_s_cn_1792_1870_qpd
- mp005_s_cn_1794_1795_sd_fh
- mp005_s_cn_1795_1797_5d_shetr
- mp005_s_cn_1796_halfpen_ctn
- mp005_s_cn_1797_1804_10d_lc
- mp005_s_cn_1798_1804_sd_db
- mp005_s_cn_1700_nyt
- mp005_s_cn_1787_1c_apt
- mp005_s_cn_1789_pctm
- mp005_s_cn_1800_1805_s5c_dbhd
- mp005_s_cn_1800_1888_5d_cb
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.