/// <summary> /// Returns true if the specified task is active for this ped. /// </summary> public static bool IsTaskActive(this Ped ped, PedTask task) => NativeWrappers.GetIsTaskActive(ped, (int)task);