Skip to content

function getPlayerSkillWeapon (client-side)

Available since version: 0.1.1

This function will get the hero/npc skill weapon.

Declaration

int|null getPlayerSkillWeapon(int id, int skillId)

Parameters

Returns int|null

the percentage value in range <0, 100> or null if player isn't spawned.