// =========================================================================== // Asshat-Gaming Roleplay // https://github.com/VortrexFTW/gtac_asshat_rp // Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) // =========================================================================== // FILE: accent.js // DESC: Provides accent functions and usage // TYPE: Server (JavaScript) // =========================================================================== function getPlayerAccentText(client) { return getPlayerCurrentSubAccount(client).accent; } // =========================================================================== function setPlayerAccentText(client, text) { getPlayerCurrentSubAccount(client).accent = text; } // =========================================================================== function doesPlayerHaveAccent(client, text) { return (getPlayerCurrentSubAccount(client).accent != ""); } // ===========================================================================