yaca.systems for alt:V, FiveM & RedM
This is a ui implementation for alt:V, FiveM & RedM. Feel free to report bugs via issues or contribute via pull requests.
Join our Discord to get help or make suggestions and start using yaca.systems today!
- Radio UI
- Multiple Styles for a UI if teamspeak plugin is not activated
| Variable | Type | Description |
|---|---|---|
| noactive_plugin_ui.usage | boolean |
If the teamspeak plugin is not activated, the ui will be displayed in a different style, default false. |
| noactive_plugin_ui.style | number |
The style of the ui if the teamspeak plugin is not activated. |
| noactive_plugin_ui.freezeplayer | boolean |
If the teamspeak plugin is not activated, the player will be frozen. |
| noactive_plugin_ui.logo | string |
Empty string means the default yaca logo is displayed, else the logo via a http url |
| Variable | Type | Description |
|---|---|---|
| keybinds.open_Radio | string |
The default keybinding for open the radio ui, set to false to disable. |
Client
Open or close the radio ui.
| Parameter | Type | Description |
|---|---|---|
| state | boolean |
the phone speaker state |
Sets the radio channel data in the ui, it's mainly called by yaca-voice resource.
| Parameter | Type | Description |
|---|---|---|
| data | object |
Current settings from a specific radio channel |
Returns whether the radio ui is open as boolean.
If you want to contribute to this project, feel free to do so. We are happy about every contribution. If you have any questions, feel free to ask in our Discord.
To build the resource, you need to have Node.js installed. After that, you can run the following commands to build the resource:
pnpm install
pnpm run build