Retail version - Create a text file named commandline.txt inside the folder where the MaxPayne3.exe is. Add one or more of following commands and save.
Steam version - Right click on Max Payne 3 in your steam library > Properties > Set launch options > add one or more of the following.
-adapter
Force specific DirectX adapter starting from 0
ex: -adapter 1
-cpucount
Force cpu count if query is not successful
ex: -cpucount 4
-d3dmt
Force multi-threaded DirectX runtime
-dx10
Force DirectX 10 if available
-dx10_1
Force DirectX 10.1 if available
-dx11
Force DirectX 11 if available
-dx9
Force DirectX 9
-frameLimit
Force VSYNC [0, 1, 2]; (0 equals Vsync Off)
-fullscreen
Force fullscreen mode.
Alt+Enter is also possible
-fxaa
Force FXAA quality [0..3]
-gpucount
Force gpu count if query is not successful
-height
Force vertical resolution
-language LanguageName
LanguageName can be english french italian german spanish russian portuguese polish
ex: for Russian add -language russian
-MSAA
Force MSAA [0..5]
-MSAAQuality
Force MSAA quality level
-outputMonitor
Force specific monitor starting from 0
-reflectionquality
Force reflection quality [0..3]
-refreshrate
Force refresh rate
-safemode
Force game to load with safest settings
-shadowquality
Force shadow quality [0..3]
-ssao
Force SSAO [0..1]
-stereo
Force 3D stereo support [0..1] (1 is on)
-tessellation
Force tessellation quality [0..3]
-texturefilterquality
Force the Anisotropic texture filter quality [0..4]
-texturequality
Force the texture quality [0..2]
-useHighQualityShaders
Force usage of high quality shaders [0..1]
-waterquality
Force water quality [0..2]
-width
Force horizontal resolution
-windowed
Force windowed mode.