π§©Exports and Events
You need specific Exports or Events for your Scripts? Here is your way to go!
Open a Interaction Notify with a specific key and message
exports["S-HUD"]:MakeHelpNotify(Key, message)Make a Team Notify for your Team chat
exports["S-HUD"]:MakeTeamNotify(name, message, length)Make a Info Notify.
exports["S-HUD"]:MakeNotifyInfo(category, titel, message, length,name)category: 1 = "info"; 2 = "success"; 3 = "error"; 4 = "ooc"; Either number or word can be used. Name is only used for OOC.
titel: Titel that should be displayed.
message: The message that should be delivered
length: The length of the message in seconds
name: The name that should be shown in a ooc notify
Make a server announce for a player
exports["S-HUD"]:MakeAnnounce(message,category,name, length)category:1 = "server"; 2 = "event"; 3 = "police"; 4 = "medic"; 5 = "faction"; Either number or word can be used
name: Name that should be displayed on the Announce
lenght: In Seconds
Make a progressbar in ms
exports["S-HUD"]:MakeProgressbar(text,length)Open a Text UI
exports["S-HUD"]:ShowTextUI(key, text)Close a Text UI
exports["S-HUD"]:HideTextUI()Make the HUD visible
exports["S-HUD"]:OpenHUD()Make the HUD invisible
Enable/Disable the cinema mode for a player
Shows every Notify that is available
To integrate your own Food and Thirst System
Change the postition of an HUD element from left to right, or right to left. "1" = left, "2" = left
Sets the Range of the Voice. Used for own Voice system integration
Remove an active Progressbar
Force HUD Status Visible/Hidden
Resets positioning data in the Databse for a player
Saves the positioning data. Data example is available in Javascript
Interaction Notify
Admin Notify
Notify
Make a Info Notify. Either number or word can be used
source: Player ID
category: 1 = "info"; 2 = "success"; 3 = "error"; 4 = "ooc"; Either number or word can be used. Name is only used for OOC.
titel: Titel that should be displayed.
message: The message that should be delivered
length: The length of the message in seconds
name: The name that should be shown in a ooc notify
Progressbar
Announce
source: Player ID
category:1 = "server"; 2 = "event"; 3 = "police"; 4 = "medic"; 5 = "faction"; Either number or word can be used
name: Name that should be displayed on the Announce
lenght: In Seconds
Last updated