native

ns_set_weap_range

Syntax

native ns_set_weap_range(idWeapon, Float:range);

Description

Sets the maximum range for this weapon.

Parameters

idWeapon The entity index of the weapon to set.
range The maximum range this weapon will have.

Note

Use weapon index, not player index!

Return

This function has no return value.