function getPlayerSkillWeapon (client-side)
Available since version: 0.3.0
This function will return the player/NPC weapon skill hit chance, or nil if unavailable.
Declaration
number|nil getPlayerSkillWeapon(number player_id, number skill_id)
Parameters
numberplayer_id: Target player or NPC id; negative ids refer to client-local NPCs.numberskill_id: Skill identifier. For more information, see Weapon Constants.
Returns number|nil
Hit chance (0-100) or nil.