Documentation
TebexDiscordYouTubeGitHub
  • Introduction
  • FIVEM FREE RESOURCES
    • BDTK
      • Guides
      • API
        • Bridges
          • Framework
          • Notifications
          • DrawText UI
        • Modules
          • Appearance
          • Buckets
          • Callbacks
          • Commands
          • Cooldowns
          • Debugging
          • Entities
          • Environment
          • Geometry
    • BDSC
      • Guides
        • What Are Plugins?
        • Making Your First Plugin
      • API
        • Player
        • Manager
        • Utility
    • boii_utils
      • Installation
      • Configuration
      • Modules
      • API
        • Callbacks
        • Characters
        • Commands
        • Cooldowns
        • Debugging
        • Entities
        • Environment
        • Framework Bridge
        • Geometry
        • Items
        • Keys
        • Licences
        • Maths
        • Methods
        • Player
        • Requests
        • Strings
        • Tables
        • Timestamps
        • UI Bridges
        • Vehicles
        • Version
        • XP
        • UI Elements
  • FIVEM PAID RESOURCES
    • Page 2
Powered by GitBook
On this page
  • log
  • wait_for
  1. FIVEM FREE RESOURCES
  2. BDTK
  3. API
  4. Modules

Debugging

SHARED FUNCTIONS

log

Prints a formatted debug message to the console.

parameters

  • level: string

  • message: string

bdtk.log(level, message)

wait_for

Waits until a given function returns true or a timeout is reached.

parameters

  • fn: function

  • timeout: number|nil

  • interval: number|nil

returns

  • boolean

bdtk.wait_for(fn, timeout, interval)
PreviousCooldownsNextEntities

Last updated 13 hours ago