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

Function

clearElementVisibleTo

ServerMiscellaneousIdentical to MTA:SA

Removes the visibility limits set with setElementVisibleTo, so everyone sees the element again.

Syntax

bool clearElementVisibleTo(element theElement)

Arguments

theElementelement
The element.

Returns

true on success.

Example

local blip = createBlip(0, 0, 0, 41, 2, 255, 0, 0, 255, 0, 99999, player)
setTimer(clearElementVisibleTo, 30000, 1, blip)

See also