local fn = _gn(0xFA4EFC79F69D4F07)
--- The ped will move or warp to the position and heading given, then start the scenario passed. See [`TASK_START_SCENARIO_IN_PLACE`](#\_0x142A02425FF02BD9) for a list of scenarios.
-- @param ped The ped handle.
-- @param scenarioName The name of the scenario to start.
-- @param x The x coordinate to start at.
-- @param y The y coordinate to start at.
-- @param z The z coordinate to start at. Should be the ground position plus the ped's ground to root offset.
-- @param heading The heading to start at.
-- @param timeToLeave Sets the timeout on the scenario point to the specified time in milliseconds. If less than 0, sets the `IdleForever` flag.
-- @param playIntro If the ped should play the scenarios enter animation. Sets the `SkipEnterClip` flag.
-- @param warp If the ped should be warped to the position. Sets the `Warp` flag.
function Global.TaskStartScenarioAtPosition(ped, scenarioName, x, y, z, heading, timeToLeave, playIntro, warp)
	return fn(ped, _ts(scenarioName), x, y, z, heading, timeToLeave, playIntro, warp)
end
