network.isenabled

Checks whether native packet interception is supported.

Syntax

Signature
network.isenabled() -> boolean

Aliases

  • raknet.isenabled
  • packets.isenabled
  • RakNet.isenabled
  • network.is_enabled
  • raknet.is_enabled
  • packets.is_enabled
  • RakNet.is_enabled

Parameters

This function takes no parameters.

Returns

TypeDescription
booleanWhether the native packet implementation is available.

Notes

It does not report whether the packet-log UI is open or capture was enabled through that UI.

Example

Luau
print(network.isenabled())