Garry's Mod Wiki

util.NetworkStringToID

  number util.NetworkStringToID( string networkString )

Description

Returns the networked ID associated with the given string from the string table.

Arguments

1 string networkString
String to get the associated networked ID from.

Returns

1 number
The networked ID of the string, or 0 if it hasn't been networked with util.AddNetworkString.