Client Event
You will find client events of our phone that you can use in this page.
Flight Mode
Player Phone Number
Phone turned on or not?
Turn off the phone
Turn on the phone
Prevent the phone from turning on
How to use phone notification?
title => Notification title message => Notification message img => You can use icons from the phone or use .png or .jpg in a photo duration => To set how long the notification stays (You must type the millisecond value) - default duration 5000
If you want a button with notification
buttonactive : Set to true to enable button button : buttonEvent : Which client will be triggered button : buttonData : data to add to button
Sending a Message
Number => Phone number to send message
Mail Sending Process
If you are going to make a function in the mail you will send, you can use the Button option.
If you just send a text
If you want to send an mail to someone offline identifier => player's identifier information (ESX)
JOB App Send Message
Set false at the end to true if you want to send it anonymous.
message => message to be sent in notification image => photo to be sent in notification (if you are not going to send photos => '') (img link) job => Job code (if you want to submit more than one profession, you can do as shown in the example) example => '["police", "sheriff"]' or '["police"]' anonymous => true to send a confidential report false if not a confidential report
IsCall
You can detect whether the person is talking on the phone or not.
Starting Call
An export method that can be used to initiate a call number => phone number to call
Specific Number
This function is an event that works for the phone numbers you specify "Config.SpecificNumber" in config.lua.
Exports for Custom APP
Preventing Character Walk
Prevent the character from walking while typing in the text field
Last updated