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

MESSAGES

  1. Send Message

  • sender string | number

  • receiver string | number

  • content string

  • notify? table

exports['piotreq_phone']:SendMessage({
    sender = 'Lester', -- number
    receiver = 'piotreq', -- number
    content = 'Hello',
    notify = { -- optional, remove arg if you dont want to show notify
       title = 'Lester', -- title of notify
       time = 'Now', -- string | os.date
       text = 'Hello', -- message content
       type = 'default', -- types are in css, you can add new
       timeout = 4000 -- optional, default is 4000
    }
})
  1. Send Location

  • sender string | number

  • receiver string | number

  • coords table | vector3

exports['piotreq_phone']:SendLocation({
    sender = 'Lester', -- number
    receiver = 'piotreq', -- number
    coords = vector3(100.0, 50.0, 20.0), -- vec3 | table x,y,z
    notify = { -- optional, remove arg if you dont want to show notify
       title = 'Lester', -- title of notify
       time = 'Now', -- string | os.date
       text = 'Location GPS', -- message content
       type = 'default', -- types are in css, you can add new
       timeout = 4000 -- optional, default is 4000
    }
})
  1. Send Photo

  • sender string | number

  • receiver string | number

  • url string

exports['piotreq_phone']:SendPhoto({
    sender = 'Lester', -- number
    receiver = 'piotreq', -- number
    url = 'https://imgur.com/sigma.gif', -- example url, change it
    notify = { -- optional, remove arg if you dont want to show notify
       title = 'Lester', -- title of notify
       time = 'Now', -- string | os.date
       text = 'Attachment', -- message content
       type = 'default', -- types are in css, you can add new
       timeout = 4000 -- optional, default is 4000
    }
})
PreviousNOTIFICATIONSNextGARAGES

Last updated 1 year ago

📱
📨