Native For Cancelling Scenarios?

Just wondering what the native is to cancel a scenario along with playing one, as i can not find it.
Thanks, Tea.

I think the native that you are looking for is CLEAR_PED_TASKS_IMMEDIATELY. I found this native by looking in the source code of FiveM, on the Tasks C# Library