Skip to content

function isPlayer (client-side)

Available since version: 0.3.7.3

This function checks whether id related to given object is local or remote player.

Declaration

bool isPlayer(int id)

Parameters

  • int id: the player identifier.

Returns bool

true when object is local or remote player, otherwise false.