function
getPlayerTalent (server-side)
Available since version: 0.0.1
This function will get the player/npc talent.
Declaration
int|null getPlayerTalent(int id, int talentId)
Parameters
int
id: the player id.int
talentId: the talent id. For more information see Talent constants.
Returns int|null
the current talent value for specific talent id or null
if player isn't created.