Skip to content

function isPlayerCreated (client-side)

Available since version: 0.0.1

The function is used to check whether player is connected or npc is created.

Declaration

bool isPlayerCreated(int id)

Parameters

  • int id: the player id.

Returns bool

toggle true when player is created, otherwise false.