nanos world API Reference Unofficial documentation
Function Server Fast

Weapon:SetBulletSettings

Aux for setting and configuring the Bullet

Syntax

Lua
my_weapon:SetBulletSettings(bullet_count, bullet_max_distance, bullet_velocity, bullet_color)

Parameters

Name Type Default Description
bullet_count integer 1 for common weapons<br/>> 1 for shotguns
bullet_max_distance integer
bullet_velocity integer Visuals only
bullet_color Color