The Lab
PROPSET native

_GET_PROP_SET_AT_COORDS

returns PropSet4 paramsbuild 1207

Returns the handle of the prop set of the given type found at the specified coordinates, if any.

Signature

C
PropSet _GET_PROP_SET_AT_COORDS(Hash propsetHash, float x, float y, float z); // 0xC061E50F8D299F95 b1207

Parameters

#NameType
1propsetHashHash
2xfloat
3yfloat
4zfloat

Facts

Facts about _GET_PROP_SET_AT_COORDS
Name
_GET_PROP_SET_AT_COORDS
Hash
0xC061E50F8D299F95
Namespace
Returns
PropSet
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local propSet = Citizen.InvokeNative(0xC061E50F8D299F95, -- _GET_PROP_SET_AT_COORDS
  GetHashKey("name"), -- Hash propsetHash
  0.0, -- float x
  0.0, -- float y
  0.0, -- float z
  Citizen.ResultAsInteger()
)
print(propSet)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
const propSet = Citizen.invokeNative("0xC061E50F8D299F95", // _GET_PROP_SET_AT_COORDS
  GetHashKey("name"), // Hash propsetHash
  0.0, // float x
  0.0, // float y
  0.0, // float z
  Citizen.resultAsInteger()
);
console.log(propSet)
C#
int propSet = Function.Call<int>((Hash)0xC061E50F8D299F95, // _GET_PROP_SET_AT_COORDS
  (uint)API.GetHashKey("name"), // Hash propsetHash
  0.0f, // float x
  0.0f, // float y
  0.0f // float z
);
All PROPSET natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.