stock te_create_multi_gunshot(position, direction, decal = 105, count = 1, noise_x = 0, noise_y = 0, receiver = 0, bool:reliable = true)
Bullethole decal texture index (0 - 255)
Number of bulletholes to generate (0 - 255)
X noise multiplied by 100
Y noise multiplied by 100
Client index that will be able to see the Gunshot
or 0 for all clients
If true, the message will be sent via the reliable
channel, otherwise it will use the unreliable one
Much more compact shotgun shot stock.
This stock is used to make a client approximate a 'spray' of gunfire.
Any weapon that fires more than one bullet per frame and fires in a bit
of a spread is a good candidate for MULTIGUNSHOT use. (shotguns)
This effect makes the client do traces for each bullet, these client
traces ignore entities that have studio models. Traces are 4096 long.
Video preview of this and all other te_ stocks can be found here:
0 if "receiver" is non-zero and the client isn't connected,