Subtitles for FiveM

Subtitles for FiveM

A guide to install Subtitles for FiveM


๐Ÿ“‹ Table of Contents

  1. ๐ŸŽฏ Overview
  2. ๐Ÿ›’ Purchase Information
  3. ๐Ÿ“บ Video Showcase
  4. โš ๏ธ Important Pre-Installation Notes
  5. ๐Ÿ”ง System Requirements & Compatibility
  6. ๐Ÿ“ฆ Installation Process
  7. โš™๏ธ Configuration Setup
  8. ๐ŸŽฎ How It Works
  9. ๐Ÿ”— Integration & Compatibility
  10. ๐Ÿ“Š Exports
  11. ๐Ÿ› ๏ธ Troubleshooting
  12. ๐Ÿ’ก Best Practices
  13. ๐Ÿ†˜ Support

๐ŸŽฏ Overview

Simply use client-side exports to invoke subtitles on your game screen and grant your players a cinematic experience. This resource provides easy-to-use subtitle functionality with full customization options.

Key Features

  • โœ… Client-Side Exports - Easy integration with any script
  • โœ… Cinematic Experience - Grant players immersive subtitle displays
  • โœ… Configurable Styling - Customize the appearance of subtitles
  • โœ… Universal Compatibility - Works with any FiveM server
  • โœ… Duration Control - Set custom display duration in milliseconds
  • โœ… Escrow Protection - Secure resource protection
  • โœ… Lightweight - Minimal performance impact

๐Ÿ›’ Purchase Information

Get Subtitles for FiveM:

Purchase on Nights Software Store


๐Ÿ“บ Video Showcase

Watch the video showcase:

Video Showcase


โš ๏ธ Important Pre-Installation Notes

Critical Installation Order: Always follow this exact sequence to avoid parsing errors in the F8 console:

  1. Download ZIP Package from CFX Portal
  2. Unpack in a folder on your local machine
  3. Set your File Transfer Protocol (FTP) type to binary
  4. Drag files from local machine to server resources folder
  5. Add to server.cfg (ensure script)
  6. Boot up the server

Support Policy: Follow this guide step by step. If youโ€™re stuck, ask for support in our Discord and provide the specific step name. Do not skip steps.


๐Ÿ”ง System Requirements & Compatibility

Framework Compatibility

  • โœ… Standalone: Works independently without any framework
  • โœ… Any FiveM Server: Universal compatibility

OneSync Compatibility

  • โœ… OneSync Legacy: Fully tested and compatible
  • โœ… OneSync Infinity: Fully tested and compatible

Note: Subtitles is designed to work with any FiveM server configuration and provides cinematic subtitle functionality.


๐Ÿ“ฆ Installation Process

Step 1: Download Resource

Download this resource via CFX Portal Assets after purchasing.

Step 2: Install Resource

  1. Extract the ZIP package to your local machine
  2. Transfer files using binary FTP mode to your serverโ€™s resources folder
  3. Ensure the folder is named night_subtitles (do not rename)

Step 3: Server Configuration

Add the resource to your server.cfg:

ensure night_subtitles

Step 4: Configure Settings

  1. Open /config/config.lua in your preferred editor
  2. Configure all settings to your liking
  3. Test the resource functionality

โš™๏ธ Configuration Setup

Required Tools

Visual Studio Code: We recommend downloading VS Code for editing Lua files.

Configuration Files

File Purpose
night_subtitles/config/config.lua Main configuration and styling settings
night_subtitles/client/c_functions.lua Client-side functions
night_subtitles/server/s_functions.lua Server-side functions

Configuration Process

  1. Open VS Code and navigate to the config files
  2. Read thoroughly - each line has explanatory comments
  3. Configure styling - customize subtitle appearance
  4. Test frequently - use F8 console for error checking

Styling Options: The config file contains all styling options for customizing the appearance of subtitles.


๐ŸŽฎ How It Works

Subtitle Display

  • Client-Side Exports - Easy integration with any script
  • Cinematic Experience - Grant players immersive subtitle displays
  • Duration Control - Set custom display duration in milliseconds
  • Real-Time Display - Subtitles appear instantly on game screen

Configuration Options

  • Styling Configuration - Customize subtitle appearance and behavior
  • Duration Settings - Configure how long subtitles are displayed
  • Visual Customization - Adjust fonts, colors, positioning, and effects
  • Integration Options - Easy integration with other scripts

User Experience

  • Cinematic Feel - Professional subtitle display for immersive gameplay
  • Easy Integration - Simple export function for any script
  • Customizable - Full control over subtitle appearance
  • Performance Optimized - Lightweight and efficient

๐Ÿ”— Integration & Compatibility

Framework Support

  • Standalone - Works independently without framework dependencies

Script Integration

  • Universal Integration - Works with any FiveM script
  • Export Function - Simple client-side export for easy integration
  • Custom Scripts - Perfect for custom missions, cutscenes, and events
  • Cinematic Content - Enhance storytelling and immersion

Server Integration

  • Universal Compatibility - Works with any FiveM server setup
  • Performance Optimized - Lightweight and efficient
  • Easy Integration - Simple setup and configuration

Cinematic Enhancement: Subtitles enhance the cinematic experience of your FiveM server with professional subtitle displays.


๐Ÿ“Š Exports

Client-Side Exports

-- Display a subtitle
exports.night_subtitles:DisplaySubtitle(text, duration_in_milliseconds)

Parameter Details

Parameter Type Description
text string The subtitle text to display
duration_in_milliseconds number How long to display the subtitle in milliseconds

Usage Examples

-- Basic subtitle display
exports.night_subtitles:DisplaySubtitle("Welcome to Nights Software๐Ÿ™‚. It's time for some real subtitles!", 5000)

-- Short subtitle
exports.night_subtitles:DisplaySubtitle("Hello World", 3000)

-- Long subtitle
exports.night_subtitles:DisplaySubtitle("This is a longer subtitle message that will be displayed for a longer duration", 8000)

Export Usage: Use this export function to display subtitles from any client-side script for cinematic experiences.


๐Ÿ› ๏ธ Troubleshooting

Common Issues

Export Not Found

  • Ensure the resource is properly started in server.cfg
  • Check that the resource name is night_subtitles
  • Verify the resource started without errors in console

Subtitles Not Displaying

  • Check F8 console for any error messages
  • Verify the export parameters are correct
  • Ensure the text parameter is a string and duration is a number

Styling Issues

  • Check the config.lua file for styling settings
  • Verify CSS/styling configurations are correct
  • Test with default settings first

Debugging Tips

  • Check F8 Console - Look for any error messages
  • Test with Simple Export - Start with basic parameters
  • Verify Resource Loading - Ensure resource starts without errors
  • Check File Permissions - Ensure all files are accessible

๐Ÿ’ก Best Practices

Subtitle Design

  • Clear Text - Use concise, readable subtitle text
  • Appropriate Duration - Set duration based on text length and reading speed
  • Consistent Styling - Use consistent subtitle formatting across your server
  • Cinematic Timing - Coordinate subtitles with other cinematic elements

Integration Tips

  • Mission Integration - Use subtitles for mission instructions and dialogue
  • Event Enhancement - Add subtitles to server events and announcements
  • Storytelling - Enhance narrative elements with subtitle displays
  • Error Handling - Implement proper error handling for export calls

User Experience

  • Readable Text - Ensure subtitles are easy to read
  • Appropriate Timing - Donโ€™t overwhelm players with too many subtitles
  • Contextual Usage - Use subtitles when they enhance the experience
  • Accessibility - Consider players who may need subtitle support

๐Ÿ†˜ Support

Read through the instructions again if you have not managed to install the resource. Canโ€™t get it to work still? Create a ticket through our dedicated support system in Discord:

Nights Software Discord


Back to top

Copyright © 2025 Nights Software

Page last modified: December 20, 2023 at 05:30 PM.