TK Scripts
  • Welcome
  • Common questions
  • Common problems
  • esx_tk_mechanicjob
    • Common questions & problems
  • tk_bosstablet
    • Common questions & problems
  • tk_jail
    • Common questions & problems
    • Exports
      • Client
      • Server
  • tk_laptop
    • Common Problems
    • Config
    • Exports
      • Client
      • Server
  • tk_mdt
    • Fivemanage setup (for images)
    • Common questions & problems
    • Config
    • Exports
      • Client
      • Server
  • tk_dispatch
    • Setup
    • Common Problems
    • Config
    • Exports
      • Client
      • Server
  • tk_housing
    • Setup
    • Common Problems
    • Config
    • Exports
      • Client
      • Server
  • tk_drugs
    • Common Questions & Problems
    • Config
  • tk_zipline
    • Config
  • tk_houserobbery
    • Config
  • tk_evidence
    • Config
    • Exports
      • Client
      • Server
  • tk_policejob
    • Config
    • Exports
      • Client
      • Server
Powered by GitBook
On this page
  1. tk_dispatch
  2. Exports

Server

addCall

exports.tk_dispatch:addCall(data)

Adds a call with given data

  • data: table

    • title: string

    • code?: string

    • priority?: string

    • message?: string

    • coords?: vec3

    • location?: string

    • direction?: string

    • gender?: string

    • vehicle?: table

      • plate: string

      • model: string

      • color: string

    • weapon?: string

    • person?: string

    • phoneNumber?: string

    • removeTime?: number time in milliseconds to remove call

    • showTime?: number time in milliseconds the call will show as a notification

    • color?: string color for notification left side

    • flash?: boolean

    • playSound?: boolean

    • playSoundAll?: boolean will play a sound that all players can hear

    • jobs?: string[]

    • blip?: table

      • sprite: number

      • scale: number

      • color: number

      • flash?: boolean

      • display?: number

      • shortRange?: boolean

      • radius?: number

PreviousClientNexttk_housing

Last updated 10 months ago