function setPlayerContext (server-side)
Available since version: 0.2.1
This function is used to set player/npc script context. For more information see this article.
Declaration
void setPlayerContext(int id, int type, int value)
Parameters
intid: the player id.inttype: the type of modified context. For more information see Context.intvalue: the new value written into context.