_GET_SCENARIO_POINT_COORDS
Hash
0xA8452DD321607029Runtime name
GetScenarioPointCoordsNamespaceTASK
SideClient
NameCommunity guess
Docs
Since build1207
Signature
Vector3 _GET_SCENARIO_POINT_COORDS(int scenario, BOOL p1);Parameters
| Name | Type | Description |
|---|---|---|
scenario | int | — |
p1 | BOOL | — |
Returns Vector3
Description
Params: p1 is always true in R* Scripts
Usage
local retval = GetScenarioPointCoords(scenario, p1)
-- always works, by hash
local retval = Citizen.InvokeNative(0xA8452DD321607029, scenario, p1, Citizen.ResultAsVector())JavaScript and C#
const retval = GetScenarioPointCoords(scenario, p1);
// by hash
const retval = Citizen.invokeNative('0xA8452DD321607029', scenario, p1, Citizen.returnResultAnyway(), Citizen.resultAsVector());Vector3 retval = Function.Call<Vector3>((Hash)0xA8452DD321607029, scenario, p1);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.