β‘exports
Overview
Client Exports
Chat State
isChatActive
isChatActivelocal isActive = exports['sl-chat']:isChatActive()
if isActive then
-- Chat is open
endReturns
Type
Description
Messages
addMessage
addMessageParameter
Type
Description
Suggestions
addSuggestion
addSuggestionParameter
Type
Description
addSuggestions
addSuggestionsremoveSuggestion
removeSuggestion3D Display
addDisplay
addDisplayParameter
Type
Description
Returns
Type
Description
removeDisplay
removeDisplayCursor
isCursorActive
isCursorActivesetCursorActive
setCursorActivetoggleCursor
toggleCursordisableCursor
disableCursorStreamer Mode
isStreamerMode
isStreamerModesetStreamerMode
setStreamerModeServer Exports
SendTemplate
Parameter
Type
Description
Messages
addMessage
addMessageParameter
Type
Description
Suggestions
addSuggestion
addSuggestionaddSuggestions
addSuggestionsremoveSuggestion
removeSuggestionModes
registerMode
registerModeParameter
Type
Description
Hooks
registerMessageHook
registerMessageHookMethod
Description
Logging
LogToDiscord
LogToDiscordLogChatCommand
LogChatCommandGetPlayerIdentifiersData
GetPlayerIdentifiersDataEvents
Client Events
Event
Description
Server Events
Event
Description
Usage Examples
Custom Notification System
Integration with Other Scripts
Custom 3D Text
Next Steps
Last updated