FiveM Visual++ Error

When ever I start up FiveM I get this http://prntscr.com/ercckw
Ever since I got this I have I have been crashing when joining servers

Remove dinput8.dll (ASI loader) from your game folder.

i tried that on both fivem and gtav and it did not work