Developer Guide

Example Usage:

RegisterCommand("show", function(source, args, rawCommand)
    -- Trigger the client event to show the subtitle to all clients
    TriggerClientEvent('displaySubtitle', -1, "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries", 5000)
end, false)

You can simply call the subtitle function with the TriggerClientEvent and the time in miliseconds.

Last updated