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
}
  • coordsvector3 position

Returns: Blip object with remove() method.

chevron-rightExample Usagehashtag
local blip = exports['orchid-bridge']:createBlip({
    sprite = 280,
    colour = 2,
    name = "Shop"
}, vector3(200.0, 300.0, 30.0))

blip:remove() -- manually remove when needed

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

  • ped – table:

Returns: lib.points object managing the ped.

chevron-rightExample Usagehashtag

Last updated