function setPlayerTalent (client-side)
Available since version: 0.2
This function will toggle the player/npc talent.
Declaration
void setPlayerTalent(int id, int talentId, int talentValue)
Parameters
intid: the npc id.inttalentId: the talent id. For more information see Talent constants.inttalentValue: the new talent value.