πŸ“šExports

Here you can find the script's exports

Server side

exports["bc_tasksystem"]:AddTask(source, taskType, taskName, count)
  • parameters

    • source: number (the id of the player)

    • taskType: string (DailyTasks, WeeklyTasks, PermanentTasks)

    • taskName: string (the task's id from your config)

    • count: number

exports["bc_tasksystem"]:GetTaskData(source, taskType, taskName)
  • parameters

    • source: number (the id of the player)

    • taskType: string (DailyTasks, WeeklyTasks, PermanentTasks)

    • taskName: string (the task's id from your config)

  • return

    • table:

      • count: number

      • collected: bool

Last updated