# TASK::GET_PROP_FOR_SCENARIO_POINT

- **Hash:** `0x295514F198EFD0CA`
- **Namespace:** TASK
- **Runtime name (Lua/JS):** `GetPropForScenarioPoint`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/TASK/GET_PROP_FOR_SCENARIO_POINT

## Signature

```c
Entity GET_PROP_FOR_SCENARIO_POINT(int scenarioPoint, const char* name);
```

## Parameters

- `scenarioPoint` (`int`)
- `name` (`const char*`)

## Returns

`Entity`

## Description

Old name: _GET_SCENARIO_POINT_ENTITY

## Usage

### Lua

```lua
local retval = GetPropForScenarioPoint(scenarioPoint, name)

-- always available, by hash
local retval = Citizen.InvokeNative(0x295514F198EFD0CA, scenarioPoint, name, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = GetPropForScenarioPoint(scenarioPoint, name);

// by hash
const retval = Citizen.invokeNative('0x295514F198EFD0CA', scenarioPoint, name, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0x295514F198EFD0CA, scenarioPoint, name);
```

*Sources: alloc8or RDR3 NativeDB.*
