Hooks

  • 1. CustomRewards_OnBeforeShowUI

    Purpose: Called before show UI

    Parameters:

    • rewardsType: The type of reward.

    • playerId : The unique ID of the player.

    Usage:

    CustomRewards_OnBeforeShowUI(string rewardsType, ulong playerID)
    {
        Puts("OnBeforeShowUI);
    }

  • 2. CustomRewards_OnAfterShowUI

    Purpose: Called after show UI

    Parameters:

    • rewardsType: The type of reward.

    • playerId : The unique ID of the player.

    Usage:

    CustomRewards_OnAfterShowUI(string rewardsType, ulong playerID)
    {
        Puts("OnAfterShowUI);
    }

Last updated