AMX Mod X API Documentation

Signature
native ns_set_weap_range(idWeapon, Float:range);
Description

Sets the maximum range for this weapon.

Notes
  • Use weapon index, not player index!
Parameters
  • idWeapon The entity index of the weapon to set.
  • range The maximum range this weapon will have.
No return value
Назад
Верх