Skip to content

function getPlayerTalent (client-side)

Available since version: 0.2

This function will get the player talent.

Declaration

void getPlayerTalent(int id, int talentId, bool toggle)

Parameters

  • int id: the player id.
  • int talentId: the talent id. For more information see Talent constants.
  • bool toggle: true if talent is enabled for player, otherwise false.