DxSetAspectRatioAdjustmentEnabled: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ {{Client function}} {{Needs Example}} {{New feature/item|3.0132|1.3.3|5547| Todo. This function does only works during these events: onClientRender, onClientPreRender ...")
 
No edit summary
Line 3: Line 3:
{{Needs Example}}
{{Needs Example}}


{{New feature/item|3.0132|1.3.3|5547|
{{New feature/item|3.0140|1.3.3|5547|
Todo. This function does only works during these events: onClientRender, onClientPreRender and onClientHUDRender
Todo. This function does only works during these events: onClientRender, onClientPreRender and onClientHUDRender
}}
}}

Revision as of 19:19, 26 June 2013

Accessories-text-editor.png Script Example Missing Function DxSetAspectRatioAdjustmentEnabled needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.


Todo. This function does only works during these events: onClientRender, onClientPreRender and onClientHUDRender

Syntax

bool dxSetAspectRatioAdjustmentEnabled ( bool bEnabled, float fSourceRatio = 4/3 )

Required Arguments

  • bEnabled: Should the adjustment be enabled or disabled.

Optional Arguments

NOTE: When using optional arguments, you might need to supply all arguments before the one you wish to use. For more information on optional arguments, see optional arguments.

  • fSourceRatio : Todo.

Returns

Returns true when the it was changed successfully, or false otherwise.

Requirements

This template will be deleted.

Example

-- Todo

See Also