Skip to content

function getPlayerTalent (server-side)

Available since version: 0.0.1

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.