networkShouldShowStrictNatWarning
NETWORK_SHOULD_SHOW_STRICT_NAT_WARNING0x82A2B386716608F1The GTA V native NETWORK_SHOULD_SHOW_STRICT_NAT_WARNING of the NETWORK namespace, as LS:MP client scripts call it: the global function networkShouldShowStrictNatWarning, in JavaScript and in Lua.
networkShouldShowStrictNatWarning(): booleannetworkShouldShowStrictNatWarning(): booleanUsage
JavaScript
const result = networkShouldShowStrictNatWarning();Lua
local result = networkShouldShowStrictNatWarning()Parameters
None.
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Returns true if the NAT type is Strict (3) and a certain number of connections have failed.
Reference
- Namespace
- Network NETWORK
- In the game
BOOL NETWORK_SHOULD_SHOW_STRICT_NAT_WARNING()- Hash
0x82A2B386716608F1- Introduced
- Game build 393 legacy numbering
- Formerly
_NETWORK_SHOULD_SHOW_CONNECTIVITY_TROUBLESHOOTING