Exports
Last updated
Last updated
In this page you will find some exports and events you can use from your external scripts to interact with av_laptop.
Use this export to open the laptop and set it as background while you run some other UI in front.
params:
tablet?
boolean
: Enable the tablet prop and animation.itemCheck?
boolean:
It will check if the player has the laptop item in their inventory and use the wallpaper for the interface. If the player does not have the item, it will return false and cancel the animation.
Note: Your minigame UI should have a z-index of 100 otherwise it will be hidden behind laptop UI.
Use it to close laptop when opened using showLaptop() export.
Use this export to retrieve the current laptop serial.
params:
none
returns:
string or false
Use this export to get the current WiFi network the laptop is connected to.
returns:
string or nil
Use the following event to close a specific APP in player laptop.
params:
name
string
: APP name.
Use this event to close laptop UI.