Skip to content

function getPlayerInstance (server-side)

Available since version: 0.0.1

This function will get the player/npc instance.

Declaration

string|null getPlayerInstance(int id)

Parameters

  • int id: the player id.

Returns string|null

the player instance or null if player isn't created.