Client
openLaptop
Open laptop view, doesn't check for item
closeUI
Closes the laptop UI if it's open
canUseApp
Checks if player can access an app
appName:
string
Return:
can:
boolean
showNotification
Shows a notification on the laptop
data:
table
title:
string
message:
string
type:
'inform'
'success'
'error'
addEmail
Adds a temporary email (email will be removed on server restart or player disconnect)
data:
table
subject:
string
body:
string
from:
string
getPlayerEmailAddress
Returns player's current email address
Return:
emailAddress?:
string
Last updated