IsElementCallPropagationEnabled: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (→‎Syntax: OOP)
m (fix oop syntax)
 
Line 6: Line 6:
==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">bool isElementCallPropagationEnabled ( element theElement )</syntaxhighlight>
<syntaxhighlight lang="lua">bool isElementCallPropagationEnabled ( element theElement )</syntaxhighlight>
{{OOP|This function is also a static function underneath the Element class.|[[element]]:isCallPropagationEnabled||}}
{{OOP||[[element]]:isCallPropagationEnabled||}}


===Required Arguments===
===Required Arguments===

Latest revision as of 14:31, 1 January 2015

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

Before submitting check out Editing Guidelines Script Examples.

This functions checks if certain element has call propagation enabled.

Syntax

bool isElementCallPropagationEnabled ( element theElement )

OOP Syntax Help! I don't understand this!

Method: element:isCallPropagationEnabled(...)


Required Arguments

  • theElement: The element to check

Returns

Returns true if the propagation is enabled, false if disabled or invalid arguments have been passed.

Example

--Todo

See Also