Skip to content

Entity Blips โ€‹

Entity blips which is persistent, even if you leave scope.

st.registerBlipMember() โ€‹

Register a player as blip member of a certain group

Syntax โ€‹

lua
st.registerBlipMember(source, groups)

Parameters โ€‹

source : integer

The source of the player

groups : string table

A string table with the name of the groups

Example โ€‹

lua
st.registerBlipMember(1, { "police" })

st.removeBlipMember() โ€‹

Remove a player blip member from a certain group

Syntax โ€‹

lua
st.removeBlipMember(source, groups)

Parameters โ€‹

source : integer

The source of the player

groups : string table

A string table with the name of the groups

Example โ€‹

lua
st.removeBlipMember(1, { "police" })

st.registerBlipEntity() โ€‹

Register a entity as a blip

Syntax โ€‹

lua
st.registerBlipEntity(source, data)

Parameters โ€‹

source : integer

The source of the player

data : table

netID : integer - The network id from the entity
user : integer - The source of the playerOptional
groups : string table - A string table with the name of the groupsOptional
users : numbers table - A numbers table with the source of the usersOptional
refreshRate : integer - The refreshRate in msOptional
blipData : table Optional

name : string - The name of the blipOptional
sprite : integer - The sprite of the blipOptional
colour : integer - The colour of the blipOptional
scale : integer - The scale of the blipOptional
route : boolean - If the user will have a route to the blipOptional
routColour : integer - The route colourOptional
attachOnEntity : boolean - If the blip should attach to the entity when in scopeOptional

Example โ€‹

lua
st.registerBlipEntity(1, { 
    netID = 1,
    refreshRate = 500,
    blipData = {
        name = "Mit seje kรธretรธj!"
    }
})

If no user, groups, or users is set, it will add the blip cache for the source

st.removeBlipEntity() โ€‹

Remove a entity blip

Syntax โ€‹

lua
st.removeBlipEntity(netID)

Parameters โ€‹

netID : integer

The network id of the entity

Example โ€‹

lua
st.removeBlipEntity(1)

Last updated: