Closed elsewhat closed 4 years ago
https://github.com/Saltyq/ScriptHookRDR2DotNet/blob/5494222ee3494d18c104f3a0fb42a267244cd246/source/scripting_v3/RDR2/Entities/Peds/Tasks.cs#L376
public void ClearAll() { Function.Call(Hash.CLEAR_PED_TASKS, _ped.Handle); } public void ClearAllImmediately() { Function.Call(Hash.CLEAR_PED_TASKS_IMMEDIATELY, _ped.Handle, true, true); }
For now adding two extra 0 params
https://github.com/Saltyq/ScriptHookRDR2DotNet/blob/5494222ee3494d18c104f3a0fb42a267244cd246/source/scripting_v3/RDR2/Entities/Peds/Tasks.cs#L376