Main Menu

[Script] Connection Tips

Started by GhettoSensei, February 18, 2025, 10:54:43 PM

Previous topic - Next topic

GhettoSensei

Hello GTAC Forum Peoples.

Today I have created a simple lua script for GTAC. It will display a message in chat whenever a player connects/disconnects from your server.

Features are:

-

Customizable messages for when player connects/disconnects (array)

Custom colors for the chat notifications. Has two modes, random and fixed

-

To do:

-

Figure out how to parse JSON data to lua table data so that configurations can be written from outside the server script. That way it will be more user-friendly

Make more scripts

-

To create your own messages you can edit the tables found in server.lua; they are marked clearly in the server events. Also, if there are changes you can suggest then add a comment :D

Link: https://mega.nz/folder/WbZ1VZIT#-7kbycCq8LwZEq3gfN9dPA