The code in the tweet isnt updated to FX so just update the sub string
should be a tut on the forum somewhere for the line of code
May I have your script link?
The twt chat features you are looking for can be found here [Release] FiveM Chat | NCCPack | FiveM Chat With Changeable Name & More! (Non-ESX)