GetMaxPlayerCharacter

GM:GetMaxPlayerCharacter(client)

Description
This hook returns how many characters player can have. If you want to change deafult char amount for player this is what you should use. For setting deafult amount of chars go to f1 tab and configuration section.

Arguments

 * Player client

Return Values

 * Amount of maximum characters for player.

Examples
function PLUGIN:GetMaxPlayerCharacter(client) if client:IsAdmin then return nut.config.get("maxChars") + 1 end end