Player::ip

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

This property returns the player's IP address.

Note: this property is read-only.

Getter

  • string The player's IP Address

Example

Server-Side
const player = mp.players.at(0);

const playerIP = player.ip;
player.outputChatBox("Your IP is: " + playerIP);

See Also