📱APPS

You can set which apps will be shown default in phone

Example

And you can also add app with export

  • playerId number

  • app string

  • notify table

exports['piotreq_phone']:addApp(playerId, app, notify)

Usage Example

local hasApp = hasApp(source, 'onion')
if not hasApp then
    addApp(source, 'onion', {
        send = 'phone', -- phone / normal (phone notify, normal notify)
        title = 'Onion',
        time = 'Now',
        text = 'Added new app',
        type = 'onion',
    })
end

Last updated