🧢XTASK.onServer

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

▸ 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

Last updated