GET_SCRIPTED_COVER_POINT_COORDS
Returns the position of the scripted cover point coverpoint.
Signature
Vector3 GET_SCRIPTED_COVER_POINT_COORDS(ScrHandle coverpoint); // 0x594A1028FC2A3E85 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | coverpoint | ScrHandle |
Facts
| Name | GET_SCRIPTED_COVER_POINT_COORDS |
|---|---|
| Hash | 0x594A1028FC2A3E85 |
| Namespace | |
| Returns | Vector3 |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local coords = Citizen.InvokeNative(0x594A1028FC2A3E85, -- GET_SCRIPTED_COVER_POINT_COORDS
0, -- ScrHandle coverpoint
Citizen.ResultAsVector()
)
print(coords.x, coords.y, coords.z)const coords = Citizen.invokeNative("0x594A1028FC2A3E85", // GET_SCRIPTED_COVER_POINT_COORDS
0, // ScrHandle coverpoint
Citizen.resultAsVector()
);
const [x, y, z] = coordsVector3 coords = Function.Call<Vector3>((Hash)0x594A1028FC2A3E85, // GET_SCRIPTED_COVER_POINT_COORDS
0 // ScrHandle coverpoint
);Related TASK natives
- DOES_SCRIPTED_COVER_POINT_EXIST_AT_COORDS
- _GET_SCENARIO_POINT_COORDS
- TASK_SEEK_COVER_TO_COVER_POINT
- GET_PROP_FOR_SCENARIO_POINT
- GET_RANSACK_SCENARIO_POINT_PED_IS_USING
- GET_VEHICLE_WAYPOINT_TARGET_POINT
- GET_SCRIPT_TASK_STATUS
- _ADD_COVER_POINT_FOR_ENTITY
- _GET_PED_USING_SCENARIO_POINT
- _GET_SCENARIO_POINT_ENTITY
- _GET_SCENARIO_POINT_HEADING
- _GET_SCENARIO_POINT_PED_IS_USING
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.