elsewhat / rdr2-mod-scene-director

RDR2 Mod port of GTA V Scene director
Other
1 stars 0 forks source link

AI::CLEAR_PED_TASKS wrong number params in AB natives.h #6

Closed elsewhat closed 4 years ago

elsewhat commented 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);
    }
elsewhat commented 4 years ago

For now adding two extra 0 params