Garry’s mod ply:IPAddress()

the IPAddress() in Garrysmod 13 is broken.

The wiki states that the function will return the IP address but in reality it returns IP:port

Here’s a quick solution to it

local ip = string.Explode(":", ply:IPAddress())

Leave a Reply

Your email address will not be published. Required fields are marked *