GetPlayerIP
The player’s address.
Syntax
Section titled “Syntax”GetPlayerIP(pid)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
Returns
Section titled “Returns”string - "a.b.c.d"; "" when not connected
Example
Section titled “Example”Log(GetPlayerName(pid) .. " joined from " .. GetPlayerIP(pid))See also
Section titled “See also”BanAddress · GetPlayerPing · the Players group of the index
