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.
Declaration
void setPlayerContext(int id, int type, int value)
Parameters
int
id: the player id.int
type: the type of modified context.int
value: the new value written into context.