XTask
Browse AddonsDownload RLIB
  • Introduction
  • Showcase
  • Changelog
    • 🟥v4.5.0.0
    • 🟥v4.4.0.0
  • FAQ
    • 🟥Addon Won't Show
    • 🟥Incompatible Addons
    • 🟥Modified Script
    • 🟥Refunds
    • 🟥Script Errors
    • 🟥When Are Updates?
  • ❱ Setup
    • 🟪Install
    • 🟪Verify
    • 🟪Workshop
    • 🟪Docs / Web
  • ❱ Configuration
    • 🟪Settings
    • 🟪Achievements
      • 🧢XTASK.enabled
      • 🧢XTASK.title
      • 🧢XTASK.desc
      • 🧢XTASK.author
      • 🧢XTASK.icon
      • 🧢XTASK.cat
      • 🧢XTASK.cat_clr
      • 🧢XTASK.po_enabled
      • 🧢XTASK.po
      • 🧢XTASK.maxreq
      • 🧢XTASK.stat
      • 🧢XTASK.family
      • 🧢XTASK.gamemode
      • 🧢XTASK.trigger
      • 🧢XTASK.onClient
      • 🧢XTASK.onShared
      • 🧢XTASK.onServer
      • 🧢XTASK.family
    • 🟪Languages
  • ❱ First Use
    • 🟪Binds
  • ❱ Developers
    • 🟪Env
Powered by GitBook
On this page
  • ▸ Data Type
  • ▸ Description
  1. ❱ Configuration
  2. Achievements

XTASK.onShared

Code to be executed when player progresses or earns an achievement.

PreviousXTASK.onClientNextXTASK.onServer

Last updated 2 years ago

SHARED

▸ Data Type

function

▸ Description

The code provided in this function is what will be executed when a player either completes an achievement, or when a player progresses in an achievement that requires X amount of something.

To make your own, you must know Lua.

XTASK.onShared = function( )
    // your code here
end
🟪
🧢
🟦