custom_weapon_shot

Syntax

native custom_weapon_shot(weapon, index);

Usage

weapon
Custom weapon id
index
Client index

Description

Adds a shot event on a custom weapon to the internal stats.

Return

This function has no return value.

Error

If the weapon id is not a custom weapon or an invalid client
index is provided, an error will be thrown.