{"hash":"0x4D1F61FC34AF3CD1","ns":"TASK","name":"TASK_START_SCENARIO_AT_POSITION","slug":"TASK_START_SCENARIO_AT_POSITION","official":true,"named":true,"luaName":"TaskStartScenarioAtPosition","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"scenarioHash","type":"Hash"},{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"},{"name":"heading","type":"float"},{"name":"duration","type":"int"},{"name":"sittingScenario","type":"BOOL"},{"name":"teleport","type":"BOOL"},{"name":"p9","type":"const char*"},{"name":"p10","type":"float"},{"name":"p11","type":"BOOL"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/TASK/TASK_START_SCENARIO_AT_POSITION","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/TASK_START_SCENARIO_AT_POSITION.md","snippets":{"lua":"TaskStartScenarioAtPosition(ped, scenarioHash, x, y, z, heading, duration, sittingScenario, teleport, p9, p10, p11)","luaInvoke":"Citizen.InvokeNative(0x4D1F61FC34AF3CD1, ped, scenarioHash, x, y, z, heading, duration, sittingScenario, teleport, p9, p10, p11)","js":"TaskStartScenarioAtPosition(ped, scenarioHash, x, y, z, heading, duration, sittingScenario, teleport, p9, p10, p11);","jsInvoke":"Citizen.invokeNative('0x4D1F61FC34AF3CD1', ped, scenarioHash, x + 0.0000001, y + 0.0000001, z + 0.0000001, heading + 0.0000001, duration, sittingScenario, teleport, p9, p10 + 0.0000001, p11);","csharp":"Function.Call((Hash)0x4D1F61FC34AF3CD1, ped, scenarioHash, x, y, z, heading, duration, sittingScenario, teleport, p9, p10, p11);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``.","Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason."]}}