28 lines
1.0 KiB
JavaScript
28 lines
1.0 KiB
JavaScript
// ===========================================================================
|
|
// Asshat Gaming Roleplay
|
|
// https://github.com/VortrexFTW/agrp_main
|
|
// (c) 2022 Asshat Gaming
|
|
// ===========================================================================
|
|
// FILE: gui.js
|
|
// DESC: Provides GUI functions and usage
|
|
// TYPE: Server (JavaScript)
|
|
// ===========================================================================
|
|
|
|
function initGUIScript() {
|
|
logToConsole(LOG_INFO, "[AGRP.GUI]: Initializing GUI script ...");
|
|
logToConsole(LOG_INFO, "[AGRP.GUI]: GUI script initialized successfully!");
|
|
}
|
|
|
|
// ===========================================================================
|
|
|
|
function doesPlayerUseGUI(client) {
|
|
return (doesServerHaveGUIEnabled() && doesPlayerHaveGUIEnabled(client));
|
|
}
|
|
|
|
// ===========================================================================
|
|
|
|
function playerToggledGUI(client) {
|
|
toggleAccountGUICommand("gui", "", client);
|
|
}
|
|
|
|
// ===========================================================================
|