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

Function

isElementFrozen

Server and clientElementsIdentical to MTA:SA

Checks whether an element is frozen (does not move).

Syntax

bool isElementFrozen(element theElement)

Arguments

theElementelement
The element.

Returns

true if frozen.

Example

addCommandHandler("zamroz", function(player)
    setElementFrozen(player, not isElementFrozen(player))
end)

See also