Play video content FLASHING HIS GUN

An armed man, standing just feet away from Takeoff and Quavo moments before the fatal shots, is now a person of interest in the rapper's death ... TMZ has learned.

We obtained this video -- a new angle of what went down only seconds prior to the gunfire -- and you can see a man dressed in black, with a black satchel and a handgun in his right hip pocket.

TMZ.com

You can very clearly see the weapon in the man's pocket -- he has his hand on it -- as Quavo was involved in the heated discussion that preceded the gunfire.

TMZ.com

In fact, Quavo, in the bright orange shirt, walks behind the man 2 seconds before the first shot is fired.

TMZ.com

Now, there's nothing in the video proving the man fired the first shot, but about 5 seconds later he is seen raising his weapon and seemingly firing it. It's unclear where Takeoff or Quavo were in relation to him at that moment.

Houston PD tells us they have seen this video, and have deemed the man a person of interest. They have not identified him yet.

Play video content 11/1/22 TEMPERS FLARE

As we reported, Takeoff was standing a few feet behind Quavo early Tuesday morning outside the Houston bowling alley when things got heated.

Play video content 11/1/22 CALLING FOR HELP

After the gunfire -- at least 10 shots were fired -- Takeoff had been hit in the head, and was pronounced dead on the scene.

Play video content RIP TAKEOFF

Two other people suffered non-life-threatening injuries.

ncG1vNJzZmivp6x7tbnZZ5qopV9nfXN%2BjmpoaGhiZMGit8SonZ9llJqupXnDopysZaOdvLDAyKeeZpmiorKlecyapWaumZmysHnPnqmsp55ivKd5yKernqqVqMFuvdSarahlmKTCtMDOp2Y%3D