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

Function

setPlayerBlipsVisible

Server and clientBlipsTrilogy Hub only

Turns the icons of all players on the map on or off. They are on by default.

Syntax

bool setPlayerBlipsVisible(bool visible)

Arguments

visiblebool
true shows, false hides.

Returns

true on success.

Example

addEventHandler("onResourceStart", resourceRoot, function()
    setPlayerBlipsVisible(false)
end)

See also