SetPedShouldPlayDirectedScenarioExit — FiveM Natives
0xEC6935EBE0847B90 · PED · all
When this ped receives its next script task, they will exit from their scenario using the normal scenario exit. Exiting the scenario may take several frames while the ped is playing the exit animation. If the ped is not currently using a scenario at the time of the command or 0,0,0 is specified as the reaction position, then the ped will by default attempt to direct their exit forwards.
Parameters
| Name | Type | Description |
|---|---|---|
| ped | Ped | the ped who should play a normal (unhurried) exit the next time they are given a script command. |
| x | float | X Coordinate. |
| y | float | Y Coordinate. |
| z | float | Z Coordinate. |
Returns
BOOL