Skip to content

function getPlayerSkillWeapon (server-side)

Available since version: 0.3.0

This function will return the player's weapon skill hit chance, or nil if unavailable.

Declaration

number|nil getPlayerSkillWeapon(number player_id, number skill_id)

Parameters

  • number player_id: Target player id.
  • number skill_id: Skill identifier, for more information check Weapon Constants.

Returns number|nil

Hit chance amount or nil.