SetCoronaReflectionEnabled: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 7: Line 7:
bool setCoronaReflectionEnabled ( marker theMarker, bool enabled )
bool setCoronaReflectionEnabled ( marker theMarker, bool enabled )
</syntaxhighlight>  
</syntaxhighlight>  
 
{{OOP||[[Marker]]:setCoronaReflectionEnabled||isCoronaReflectionEnabled}}
===Required Arguments===  
===Required Arguments===  
*'''theMarker:''' the corona marker that you wish set visibility of corona reflection
*'''theMarker:''' the corona marker that you wish set visibility of corona reflection

Revision as of 11:11, 25 September 2022

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