CritteRo / fivem-scaleform-lib

A library of GTA 5 scaleforms for FiveM. All scaleforms can be activated using events.
28 stars 17 forks source link

Added mission info scaleform #5

Closed PhilippRedel closed 3 years ago

PhilippRedel commented 3 years ago

Added the mission info scaleform:

image

    local data = {
        name = "Mission name",
        type = "Mission type",
        percentage = "15",
        rockstarVerified = true,
        playersRequired = "3",
        rp = 0,
        cash = 0,
        time = ""
    }
    --TriggerEvent("cS.missionInfo", _data, _x, _y, _width, _waitTime, _playSound)
    TriggerEvent("cS.missionInfo", data, 0.5, 0.5, 0.5, 5, true)

_x defines the x location on the screen _y defines the y location on the screen _width defines the with of the scaleform