GTA Connected

Scripting => Module Releases => Topic started by: Vortrex on May 18, 2022, 10:23:42 PM

Title: Terminal Bell Module
Post by: Vortrex on May 18, 2022, 10:23:42 PM
This is a simple terminal bell module for those who want to use it for their server. Most of the functions have been lightly tested, but if you run into any issues please report them on the GitHub issues page for the repository.

Download:
https://github.com/VortrexFTW/mod_bell/releases

Instructions:
Place into your server's "modules" folder and put "<module src="module_folder_name/module_file_name" />" into the modules section of your server XML. Be sure to include the folder your modules are stored in (it's relative to the main server directory) and do not include a file extension.
<modules>
    <module src="modules/mod_bell" />
</modules

JavaScript Example:
if(chatMessage.indexOf("!admin") != -1) {
module.bell.ring();
}

Available Functions:
bool = module.bell.ring(void);
Title: Re: Terminal Bell Module
Post by: JessicaDaniels on May 24, 2023, 10:15:13 AM
It's very interesting !