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
  • showNotification
  • addEmail
  • getPlayerEmailAddress
  1. tk_laptop
  2. Exports

Server

showNotification

exports.tk_laptop:showNotification(data)

Shows a notification on the laptop

  • data: table

    • playerId: number

    • title: string

    • message: string

    • type: 'inform' 'success' 'error'

addEmail

exports.tk_laptop:sendEmail(data)

Sends an email from given address to given address (this is not a temporary email)

  • data: table

    • subject: string

    • body: string

    • from: string

    • to: string

getPlayerEmailAddress

exports.tk_laptop:getPlayerEmailAddress(identifier)

Returns player's current email address

  • identifier: string number

  • Return:

    • emailAddress?: string

PreviousClientNexttk_mdt

Last updated 11 months ago