[1] System
Notifications
Notification = {
Type = 'Map', -- OPTIONS: 'Chat', 'Map', 'Custom'. Check Documentation for details.
CustomClientEventName = '',
},This section of the configuration allows you to customize the Notification system used in the script. Three options are listed:
'Chat' --> Will send the messages in the chat. This system is preset in the script.
'Map' --> Will send the messages above the map. This system is preset in the script.
'Custom' --> Will send the messages to your server's custom notification system. This notification system will require you to add the event's name in the
CustomClientEventNamesection.
Check Delay
Check_Delay = 10, -- milliseconds to wait while searching for the nearest door. Since the Door Barricade script is built to work with ANY door, we have to ensure the script is well optimized as it searches through many door options. After many stages of testing, we suggest using a delay of 10. Feel free to customize it for your server's needs:
-> Lower Delay = faster response time, but more client CPU usage while searching.
-> Higher Delay = longer response time, but less client CPU usage while searching.
*5S suggests 10 milliseconds. Not too long of a wait time and well optimized for the user.
Last updated