A script that brings the GTA Online feature the pause does not stop the game on ESCAPE but only on P.
Installation:
Place NoPausedForGtaV.dll into your “scripts” folder. You will need the latest Script Hook V .NET Script Hook and Lua.Scripts.
Credits:
MrFoxsteil