Client
Exports for client context
Create Blip
Creates a map blip (icon or radius) that can be removed later.
Supports both sprite and radius blips
Automatically cleaned up on resource stop
Orchid.createBlip(settings, coords)
settings
– table with:
{
sprite? = number, -- blip icon
colour = number, -- blip color
scale? = number, -- blip scale (default 0.8)
name? = string, -- blip label
radius? = number -- radius for circular blips
}
coords
–vector3
position
Returns:
Blip object with remove()
method.
Create Interactive Ped
Spawns an interactive NPC using your target system.
Spawns ped on player entering defined area, ensuring solid optimization
Supports scenarios to be played on ped
Automatically removed on exit or resource stop
No leftover entities
Orchid.createInteractivePed(ped, options)
ped
– table:
{
hash = string | number, -- ped model
coords = vector4, -- position + heading
scenario? = boolean -- optional animation, default true
}
options
– array of target interactions. Check out this page (it also applies even if you use this export with qb-target)
Returns:
lib.points
object managing the ped.
Last updated