Floyd Mayweather ... actor???
Yep ... and it's all thanks to Jamie Foxx.
Floyd just locked up a role in Jamie's new movie, "All-Star Weekend" -- and the two are already gellin' on the L.A. set.
We're told Floyd is playing himself -- so don't go polishing that Oscar yet -- but we're told he's taking the job seriously since his good friend Jamie is directing and producing the flick.
So, what's the movie about? IMDb says it's about "two buddies who form a rivalry over their favorite American basketball player."