TaskStartScenarioInPlace — FiveM Natives
0x142A02425FF02BD9 · TASK · all
Puts the ped into the given scenario immediately at their current location. List of scenario names or in update/update.rpf/common/data/ai/scenarios.meta.
Parameters
| Name | Type | Description |
|---|---|---|
| ped | Ped | The ped handle. |
| scenarioName | char* | The name of the scenario to start. |
| timeToLeave | int | Sets the timeout on the scenario point to the specified time in milliseconds. If less than 0, sets the `IdleForever` flag. |
| playIntroClip | BOOL | If the ped should play the scenarios enter animation. Sets the `SkipEnterClip` flag. |
Returns
void