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

Weapon:SetWallbangSettings

Sets how the bullet will pass through walls

Syntax

Lua
my_weapon:SetWallbangSettings(max_distance, damage_multiplier)

Parameters

Name Type Default Description
max_distance integer Max distance to pass through another wall
damage_multiplier float Damage given if wallbangged