RedM Natives

Props

Every named object model in the game, grouped by the folder and rpf archive it ships in. Search by name or hash, star the ones you use, copy the name for your script.

Spawning a prop
Lua
local model = `p_chair05x`
RequestModel(model, false)
while not HasModelLoaded(model) do Wait(0) end
local obj = CreateObject(model, x, y, z, true, true, false, false, false)
PlaceObjectOnGroundProperly(obj, true)
SetModelAsNoLongerNeeded(model)

CreateObject · CreateObjectNoOffset · RequestModel · HasModelLoaded · PlaceObjectOnGroundProperly · SetModelAsNoLongerNeeded · DeleteObject

Structure · p_val_frags · 51–52 of 52

  • val_res_post_grd_rootval_res_post_grd_root-779184822 0xD18E954AStructure · p_val_frags
  • val_res_post_grd_root_dmgval_res_post_grd_root_dmg423263240 0x193A7C08Structure · p_val_frags

Models: femga/rdr3_discoveries. Images: SPOONI Development prop gallery; credit stays with them.