🧢XTASK.onClient

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

🟨 CLIENT

▸ 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.onClient = function( )
    // your code here
end

Last updated