XTask
CtrlK
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.onServer

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

πŸŸ₯ SERVER

β–Έ 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.onServer = function( )
    // your code here
end
PreviousXTASK.onSharedNextXTASK.family

Last updated 2 years ago