Donator

Hook Documentation for Donator Module.

Functions

MODULE:AddOverrideCharSlots(client)

Increases the number of character slots for a specific player.

Parameters

  • client Player

    The player whose character slots are to be increased.

MODULE:OverrideCharSlots(client, value)

Sets the number of character slots for a specific player to a given value.

Parameters

  • client Player

    The player whose character slots are to be set.

  • value Integer

    The number of character slots to set.

MODULE:SubtractOverrideCharSlots(client)

Decreases the number of character slots for a specific player.

Parameters

  • client Player

    The player whose character slots are to be decreased.

MODULE:getOverrideChars(client)

Retrieves the number of character slots currently overridden for a player.

Parameters

  • client Player

    The player for whom to retrieve the number of character slots.

Returns

  • any

    int The number of character slots currently overridden for the player.

MODULE:getRankChars(client)

Retrieves the number of character slots allowed based on the player's rank.

Parameters

  • client Player

    The player for whom to retrieve the rank-based character slots.

Returns

  • any

    int The number of character slots allowed based on the player's rank.