ns_set_weap_range
Syntax
native ns_set_weap_range(idWeapon, Float:range);
Usage
| Parameter | Description |
|---|---|
| idWeapon | The entity index of the weapon to set. |
| range | The maximum range this weapon will have. |
Description
Sets the maximum range for this weapon.
Note
Use weapon index, not player index!
Return
This function has no return value.