Exports
On this page, you will find the exports that nPhone has available.
Template using Exports
Client Exports
Set phone display
This export will change the phone display status, it can be true or false:
Get phone display
This export will get the current phone display status, it can return true or false:
Get phone availability
This export will get the current phone availability status, it can return true or false:
Set phone availability
This export will change the availability of the current phone:
Show notification
This export will show a notification to the player if the player owns a phone:
Set flashlight status
This export will change the status of the flashlight, if the player owns a phone:
Get flashlight status
This export will get the current flashlight status, it can return true or false:
Server Exports
Set verified status
This export will change the verified status of the user in the app selected:
Get verified status
This export will get the verified status of the user in the app selected:
Set account password
This export will change the account password of the user in the app selected:
Get app post
This export will get the post content in the app selected:
Remove app post
This export will remove the post in the app selected:
Reset phone
This export will reset the selected phone:
Get source from number
This export will get the source from a phone number:
Show notification
This export will show a notification to the player if the player owns a phone:
Get phone PIN
This export will get the passcode of a phone:
Get source account
This export will get the current player linked account:
Send email
This export will send an email to an account:
Get phone call
This export will get the current phone call identifier:
End phone call
This export will end the call:
Is in call
This export will get the phone call status:
Server Events
Message event
It will be triggered when a text message is sent: