GetPlayerMapOpacity: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Client function}}
{{Client function}}
{{Added feature/item|3.0160|1.5.9|1.5.8|20945|This function allows to get the opacity of the radar map (F11).}}
{{Added feature/item|1.5.9|1.5.8|20945|This function allows to get the opacity of the radar map (F11).}}


==Syntax==
==Syntax==

Revision as of 20:57, 23 September 2021

This function allows to get the opacity of the radar map (F11).

Syntax

int getPlayerMapOpacity ( )

OOP Syntax Help! I don't understand this!

Method: player.getMapOpacity(...)


Returns

Returns an integer with a value from 0 to 255, where 0 is fully transparent and 255 is fully opaque.

Example

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

Before submitting check out Editing Guidelines Script Examples.


Requirements

This template will be deleted.

See Also