SetCoronaReflectionEnabled: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{Client function}}
{{Client function}}
__NOTOC__
__NOTOC__
{{Added feature/item|1.5.9|1.5.8|21251|Sets visibility of corona reflection.}}
{{Added feature/item|1.5.9|1.5.8|21251|This function sets visibility of corona reflection.}}


==Syntax==  
==Syntax==  

Revision as of 11:19, 25 September 2022

This function sets visibility of corona reflection.

Syntax

bool setCoronaReflectionEnabled ( marker theMarker, bool enabled )

OOP Syntax Help! I don't understand this!

Method: Marker:setCoronaReflectionEnabled(...)
Counterpart: isCoronaReflectionEnabled


Required Arguments

  • theMarker: the corona marker that you wish set visibility of corona reflection
  • enabled: whenever corona reflection should be visible

Returns

Returns true if marker type is corona, false otherwise.

See Also