Everything works, so nothing wrong with that. But i cheated in story mode, decided to go online, turned off infinity, and did so, but it said i was banned. So im not sure if they count cheating in story mode the same as cheating online for whatever reason.
Close Infinity before going online and you will be fine. Modding is allowed for singleplayer.
Like that guy with his weird ass name (@sNaKe love ya <3) said. Close infinity do not only turn it off.
Secondly if you’re using any mods you can’t go to online mode. It will ban you right away.
You were not banned for using Infinity in Story. Directly from Rockstar saying they are not banning for single player modding:
We have always appreciated the creative efforts of the PC modding community and we still fondly remember the awesome zombie invasion mod and original GTA map mod for GTAIV PC among many other classics. To be clear, the modding policy in our license has not changed and is the same as for GTAIV. Recent updates to GTAV PC had an unintended effect of making unplayable certain single player modifications. This was not intentional, no one has been banned for using single player modifications, and you should not worry about being banned or being relegated to the cheater pool just for using single player PC mods. Our primary focus is on protecting GTA Online against modifications that could give players an unfair advantage, disrupt gameplay, or cause griefing. It also bears mentioning that because game mods are by definition unauthorized, they may be broken by technical updates, cause instability, or affect your game in other unforeseen ways.