Skip to content

function setPlayerContext (server-side)

Available since version: 0.2.1

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


void setPlayerContext(int id, int type, int value)


  • int id: the player id.
  • int type: the type of modified context.
  • int value: the new value written into context.