pScripts
  • INFORMATION
    • FiveM Asset Escrow System
    • Assets Updates
    • Discord Roles
  • Assets & Guides
    • 🏛️Banking
      • 👋Installation Guide
      • ⚙️Editable Files
      • Client Exports
      • Server Exports
    • 👨‍⚖️DOJ Job
      • 👋Installation Guide
      • ⚙️Config Files
      • Client Exports
      • Server Exports
    • 💻DOJ MDT
      • 👋Installation Guide
      • ⚙️Config Files
      • Client Exports
      • Server Exports
    • 🌿Weed Plants
      • 👋Installation Guide
      • ⚙️Config Files
      • Client Exports
      • Server Exports
    • 🚗Car Sale Job
      • 👋Installation Guide
      • ⚙️Config File
      • Client Exports
      • Server Exports
    • 📙Job Core
      • ⚙️Config File
      • Exports
    • 👮Police Job
      • 👋Installation Guide
      • ⚠️Common Issues
      • ⁉️Setup Server
      • ⚙️Config Files
      • Client Exports
        • Bodycam
        • Evidence System
        • Duty GPS
        • Interactions
        • Jail System
        • Police Objects
        • Speed Camera
        • Manage Traffic
        • Misc
      • Server Exports
        • Evidence System
        • Interactions
        • Jail System
        • Misc
    • 💻Police MDT
      • ⁉️Setup Server
      • ⚙️Config File
      • Client Exports
      • Server Exports
      • Dispatch System
    • 🚑Ambulance Job
      • 👋Installation Guide
      • ⁉️Setup Server
      • ⚙️Config Files
      • Client Exports
      • Server Exports
    • 💻Ambulance MDT
      • 👋Installation Guide
      • ⚙️Config File
      • Exports and Events
      • Dispatch System
    • 🛠️Mechanic Job
      • ⚙️Config Files
      • Mileage System
      • Nitro System
      • Lifters System
      • Misc
    • 💻Mechanic MDT
      • ⚙️Config File
      • Exports
      • Dispatch System
      • Licenses System
    • 💵Fleeca Robbery
      • 👋Installation Guide
      • ⚙️Config File
    • ⌚Jewelry Robbery
      • 👋Installation Guide
      • ⚙️Config File
    • 💇Appearance
      • ⚙️Config Files
      • Client Exports
    • 👀Hints
      • Exports
    • 👋Helper
      • Exports
    • 🔧Tuning Menu
      • Exports and Events
      • ⚙️Config Files
    • 🆔Documents
      • ⚙️Config File
      • Exports and Events
    • 📱Phone
      • ⤵️INSTALLATION
      • ⚙️CONFIG FILES
      • 📃FEATURES
      • 📱APPS
      • 📇SIM CARDS
      • 📳NOTIFICATIONS
      • 📨MESSAGES
      • 🚘GARAGES
      • 🪙CRYPTO
      • 🔪DARK CONNECT
      • ⌨️FUNCTIONS
      • 🌎LANGUAGE
      • ⚠️COMMON ISSUES
    • 🪙Casino Games
      • 🎰Slot Machine
      • 🏐Roulette
      • ♣️Poker
    • 💻GCT
      • 📨EXPORTS
    • 💻Civil MDT
      • ⤵️INSTALLATION
      • 📱APPS
      • 🏎️BOOSTING
      • 🏅ACHIEVEMENTS
      • ⚠️COMMON ISSUES
Powered by GitBook
On this page
  1. Assets & Guides
  2. Phone

NOTIFICATIONS

  1. Send Notification

  • title string

  • time string

  • text string

  • timeout? number

  • type? number

  • playerId number

TriggerClientEvent('piotreq_phone:SendNotification', playerId, {
    title = 'New message',
    time = os.date('%H:%M', os.time()),
    text = 'Location GPS',
    timeout = 4000, -- optional
    type = 'default' -- optional
})
  • title string

  • time string

  • text string

  • timeout? number

  • type? number

exports['piotreq_phone']:SendNotification({
    title = 'New message',
    time = 'Right now',
    text = 'Location GPS',
    timeout = 4000, -- optional
    type = 'default' -- optional, you can check types in css
})

TriggerEvent('piotreq_phone:SendNotification', {
    title = 'New message',
    time = 'Right now',
    text = 'Location GPS',
    timeout = 4000, -- optional
    type = 'default' -- optional
})
  1. Send Request

  • text string

  • name string

  • type? string

  • buttons table

  • playerId number

  • args any

TriggerClientEvent('piotreq_phone:SendRequest', playerId, {
    text = 'Invoice',
    name = 'UwU Cafe',
    type = 'pink', -- optional, you can check types in css
    buttons = {
        {
            type = 'light', 
            event = 'piotreq_uwucafe:PayBill',
            args = {amount = 100, id = playerId}, 
            icon = 'fa-solid fa-check'
        },
        {
            type = 'red', 
            event = 'piotreq_uwucafe:CancelBill',
            icon = 'fa-solid fa-xmark'
        },
    }
})
  • text string

  • name string

  • type? string

  • buttons table

  • event? string

  • eventType? string

  • args any

  • icon string

TriggerEvent('piotreq_phone:SendRequest', {
    text = 'Invoice',
    name = 'UwU Cafe',
    type = 'pink', -- optional, you can check types in css
    buttons = {
        {
            type = 'light', 
            event = 'piotreq_uwucafe:PayBill',
            eventType = 'server',
            args = {amount = 100}, 
            icon = 'fa-solid fa-check'
        },
        {
            type = 'red', 
            event = 'piotreq_uwucafe:CancelBill',
            icon = 'fa-solid fa-xmark'
        },
    }
})
PreviousSIM CARDSNextMESSAGES

Last updated 1 year ago

📱
📳