ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. setElementCallPropagationEnabled

Function

setElementCallPropagationEnabled

ServerElementsIdentical to MTA:SA

Turns on or off passing function calls from the element to its children.

Syntax

bool setElementCallPropagationEnabled(element theElement, bool enabled)

Arguments

theElementelement
The element.
enabledbool
false turns it off.

Returns

true on success.

Example

setElementCallPropagationEnabled(group, false)

See also