🧢XTASK.onShared

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

🟦 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

Last updated