Closed zandotc1 closed 5 months ago
hello, I think you talk about the e.StreakEnd ?
Console: rokamarker12, Gift: Rose(1), ID: 5655 rokamarker12, Gift: Rose(2), ID: 5655 rokamarker12, Gift: Rose(3), ID: 5655
but: rokamarket12 Sent x3 Rose!
Like this?
if (e.StreakEnd) { function(); } else { anhother function(); }
https://github.com/frankvHoof93/TikTokLiveSharp/issues/11
check this issue because all gift have a 'type'
Solved thx
How to use pending (isPendingStreak(data) similar to nodejs? to prevent the gift totalizer from calculating the previous accumulated quantity (+)current quantity.
Nodejs: Repeat: x${data.repeatCount.toLocaleString()}
Cost: ${(data.diamondCount * data.repeatCount).toLocaleString()} Diamonds