Skip to content

function setPlayerSkillWeapon (server-side)

Available since version: 0.0.1

This function will set the player skill weapon for all players.

Declaration

void setPlayerSkillWeapon(int id, int skillId, int percentage)

Parameters

  • int id: the player id.
  • int skillId: . For more information see Skill weapon constants.
  • int percentage: the percentage in range <0, 100>.