|You may be looking for TEC 9, a weapon titled "Machine Pistol" in Grand Theft Auto V.|
First designed during World War 1, many machine pistols are simply handguns with the added option of fully-automatic fire (such as the Glock 18/C), and others are designed strictly as a separate weapon (such as the Micro Uzi). Machine pistols don't usually come with a fixed stock, though most allow the attachment of one, as it helps absorb recoil and increase accuracy. The light weight and small dimensions of machine pistols enable users to fire them one-handed with relative ease, though accuracy depends entirely on the shooter.
The machine pistols available in the Grand Theft Auto series are the following: