Progetto H — API Reference API & Scripting Documentation
Function Server Fast

Weapon:SetUsageSettings

Sets if the Weapon can hold to keep firing and if it needs to release to fire

Syntax

Lua
my_weapon:SetUsageSettings(can_hold_use, hold_release_use)

Parameters

Name Type Default Description
can_hold_use boolean
hold_release_use boolean