📖Exports Guide

Client Side Exports

exports['nazu-bridge']:ShowScreenEffect(effect, msc)
exports['nazu-bridge']:ShowBanner(Title, SubTitle, DisplayTitle)
exports['nazu-bridge']:ShowCountDown(Red, Green, Blue, CountTime)
exports['nazu-bridge']:GTAMissionMessage(Picture, Sender, Subject, Message, PlaySound)

UseCase :

ShowScreenEffect

Method to show Banner Scale Form. The first argument is the name of the effect The second argument is the display time of the effect in msc. (int type)

Sample:

exports['nazu-bridge']:ShowScreenEffect(effect, msc)
Citizen.CreateThread(function()
    exports['nazu-bridge']:ShowScreenEffect('SwitchOpenMichaelOut', 1000)
end)

ShowBanner

Method to display Banner Scale Form.

  1. Title as the first argument.

  2. The second argument is the subtitle.

  3. The third argument is the time to draw in msc.

Sample:

exports['nazu-bridge']:ShowBanner(Title, SubTitle, DisplayTime)
Citizen.CreateThread(function()
    exports['nazu-bridge']:ShowBanner('YOU WIN', 'Time: ' .. tostring(5.00) .. 'SEC', 4)
end)

ShowCountDown

Method to display Count Down Scale Form

  1. The first argument is the value of Red in RGB.

  2. The second argument is the RGB Green value.

  3. The third argument is an RGB Blue value.

Sample:

exports['nazu-bridge']:ShowCountDown(Red, Green, Blue, CountTime)
Citizen.CreateThread(function()
    exports['nazu-bridge']:ShowCountDown(255, 222, 23, 5)
end)

GTAMissionMessage

Methods to display GTA Notify's ScaleForm

  1. The first argument is a string of Picture.

  2. Title as the second argument.

  3. Subject as the third argument.

  4. Message as the fourth argument.

Sample:

exports['nazu-bridge']:GTAMissionMessage(Picture, Sender, Subject, Message)
Citizen.CreateThread(function()
    exports['nazu-bridge']:GTAMissionMessage('CHAR_HUNTER', 'Title Test', 'Subject Test', '', { "Text_Arrive_Tone", "Phone_SoundSet_Default" })
end)

Last updated