Open methods

We have some open methods on the client of the lib, here you can change some things like the help text and notifications used by the lib.

OpenMethods = {}

function OpenMethods.hideCustomHelpText()
    -- Your method for hiding your custom help text
end

function OpenMethods.showCustomHelpText(text)
    -- Your method for hiding your custom help text
end

-- If you use a custom notification library, make sure to check client/config.lua > NotificationMapping
function OpenMethods.ShowNotification(message, notify_type)
    -- Your method for showing a notification

    -- This is just default gta notification
    SetNotificationTextEntry("STRING")
    AddTextComponentString(message)
    DrawNotification(false, false)
end

Last updated