Skip to content

function setPlayerTalent (server-side)

Available since version: 0.0.1

This function will toggle the player talent for all players.


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


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