Skip to content

function getPlayerSerial (server-side)

Available since version: 0.0.1

Note

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

Note

For some players (e.g: that are playing on linux using WINE) this function might return empty string.

This function will get the player serial.
Serial is used to uniquely idientify each player.

Declaration

string getPlayerSerial(int id)

Parameters

  • int id: the player id.

Returns string

the player serial.