Hotspots can enable different features in the laptop when a player connects to them or you can even use it for your own scripts!.

Add new ones

  • 1) Go to av_laptop/config/hotspots.lua you will find a table with all available hotspots:

  • 2) You can duplicate one of the ones that are already there and change the fields with your own name, label, password (optional) and coords.


  • Currently this is the only available export and can be called client side:

local myWifi = exports['av_laptop']:WiFi()
  • It will return a string with the current hotspot name that you are connected to or an empty string if you are not connected.

Last updated