GET_PROP_FOR_SCENARIO_POINT
Old name: _GET_SCENARIO_POINT_ENTITY
Hash
0x295514F198EFD0CARuntime name
GetPropForScenarioPointNamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
Signature
Entity GET_PROP_FOR_SCENARIO_POINT(int scenarioPoint, const char* name);Parameters
| Name | Type | Description |
|---|---|---|
scenarioPoint | int | — |
name | const char* | — |
Returns Entity
Description
Old name: _GET_SCENARIO_POINT_ENTITY
Usage
local retval = GetPropForScenarioPoint(scenarioPoint, name)
-- always works, by hash
local retval = Citizen.InvokeNative(0x295514F198EFD0CA, scenarioPoint, name, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetPropForScenarioPoint(scenarioPoint, name);
// by hash
const retval = Citizen.invokeNative('0x295514F198EFD0CA', scenarioPoint, name, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x295514F198EFD0CA, scenarioPoint, name);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.