_GET_PROP_SET_AT_COORDS
Returns the handle of the prop set of the given type found at the specified coordinates, if any.
Signature
PropSet _GET_PROP_SET_AT_COORDS(Hash propsetHash, float x, float y, float z); // 0xC061E50F8D299F95 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | propsetHash | Hash |
| 2 | x | float |
| 3 | y | float |
| 4 | z | float |
Facts
| 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.
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)// 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)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
);Related PROPSET natives
- _GET_PROP_SET_MODEL
- _GET_ENTITIES_FROM_PROP_SET
- _GET_TRAIN_CARRIAGE_PROP_SET
- _GET_VEHICLE_LIGHT_PROP_SET
- _GET_VEHICLE_PROP_SET
- _GET_VEHICLE_PROP_SET_HASH
- _DOES_PROP_SET_OF_TYPE_EXIST_NEAR_COORDS
- _SET_PROP_SET_AS_NO_LONGER_NEEDED
- _SET_PROP_SET_FLAG
- _SET_PROP_SET_VISIBLE
- _ADD_ADDITIONAL_PROP_SET_FOR_VEHICLE
- _ADD_LIGHT_PROP_SET_TO_VEHICLE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.