Skip to content

function getPlayerContext (server-side)

Available since version: 0.2.1

This function is used to get player script context. For more information see this article.

Declaration

int getPlayerContext(int id, int type)

Parameters

  • int id: the player id.
  • int type: the type of context.

Returns int

the value stored within selected context.