My FPS dropping

Hi, i have problem. When i play on any FiveM server i have around 30-40 FPS. But when i press “M” for menu i have for a moment normal FPS around 70-80. When i consistently pressing “M” i have normal FPS… but when the menu show up i have again 30 FPS… When i join on some server where i have 6 000 ping+ and i press “M” i have for 6 seconds normal FPS like 70+… and after 6 sec delay the menu shows up and i have 30 FPS… I dont know where is problem.
GTA multiplayer is running fine.

30FPS - pressed “M” - DELAY - 70FPS - Menu show up - 30 FPS.
30FPS - pressed “M” - DELAY - 70FPS - Menu close - 30 FPS.

CPU: AMD FX 6300 - Six Core 3.5GHz
GPU: Nvidia GTX 1060 - 3GB
RAM: HyperX 24GB

Update your drivers and make sure the game is ran with the correct graphics card.