# TASK::GET_SCRIPTED_COVER_POINT_COORDS

- **Hash:** `0x594A1028FC2A3E85`
- **Namespace:** TASK
- **Runtime name (Lua/JS):** `GetScriptedCoverPointCoords`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/TASK/GET_SCRIPTED_COVER_POINT_COORDS

## Signature

```c
Vector3 GET_SCRIPTED_COVER_POINT_COORDS(ScrHandle coverpoint);
```

## Parameters

- `coverpoint` (`ScrHandle`)

## Returns

`Vector3`

## Usage

### Lua

```lua
local retval = GetScriptedCoverPointCoords(coverpoint)

-- always available, by hash
local retval = Citizen.InvokeNative(0x594A1028FC2A3E85, coverpoint, Citizen.ResultAsVector())
```

### JavaScript

```js
const retval = GetScriptedCoverPointCoords(coverpoint);

// by hash
const retval = Citizen.invokeNative('0x594A1028FC2A3E85', coverpoint, Citizen.returnResultAnyway(), Citizen.resultAsVector());
```

### C#

```csharp
Vector3 retval = Function.Call<Vector3>((Hash)0x594A1028FC2A3E85, coverpoint);
```

*Sources: alloc8or RDR3 NativeDB.*
