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 โ
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 โ
st.registerBlipMember(1, { "police" })st.removeBlipMember() โ
Remove a player blip member from a certain group
Syntax โ
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 โ
st.removeBlipMember(1, { "police" })st.registerBlipEntity() โ
Register a entity as a blip
Syntax โ
st.registerBlipEntity(source, data)Parameters โ
source : integer
The source of the player
data : table
netID: integer - The network id from the entityuser: integer - The source of the playerOptionalgroups: string table - A string table with the name of the groupsOptionalusers: numbers table - A numbers table with the source of the usersOptionalrefreshRate: integer - The refreshRate in msOptionalblipData: table Optional
name: string - The name of the blipOptionalsprite: integer - The sprite of the blipOptionalcolour: integer - The colour of the blipOptionalscale: integer - The scale of the blipOptionalroute: boolean - If the user will have a route to the blipOptionalroutColour: integer - The route colourOptionalattachOnEntity: boolean - If the blip should attach to the entity when in scopeOptional
Example โ
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 โ
st.removeBlipEntity(netID)Parameters โ
netID : integer
The network id of the entity
Example โ
st.removeBlipEntity(1)