Skip to content

function getPlayerMacAddr (server-side)

Available since version: 0.0.1

Note

The function can return null if player isn't connected.

This function will get the player MAC address.
MAC is used to uniquely idientify each player,
however it can be changed/spoofed by more advance users.

Declaration

string getPlayerMacAddr(int id)

Parameters

  • int id: the player id.

Returns string

the player mac address, e.g "00-1b-44-11-3a-b7".