ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Shared functions
  3. isObjectBreakable

Function

isObjectBreakable

Server and clientObjectsIdentical to MTA:SA

Returns whether the object can be broken (breakObject). true by default unless changed with setObjectBreakable.

Syntax

bool isObjectBreakable(object theObject)

Arguments

theObjectobject
The object.

Returns

true when breakable.

Example

local obj = createObject(1649, 0, 0, 3)
outputDebugString(tostring(isObjectBreakable(obj)))

See also