te_create_multi_gunshot

Much more compact shotgun shot stock.

Syntax

stock te_create_multi_gunshot(position[3], direction[3], decal = 105, count = 1, noise_x = 0, noise_y = 0, receiver = 0, bool:reliable = true) {

Usage

decal Bullethole decal texture index (0 - 255)
count Number of bulletholes to generate (0 - 255)
noise_x X noise multiplied by 100
noise_y Y noise multiplied by 100
receiver Client index that will be able to see the Gunshot
reliable If true, the message will be sent via the reliable

Return

if "receiver" is non-zero and the client isn't connected,

Notes

This stock is used to make a client approximate a 'spray' of gunfire.

This effect makes the client do traces for each bullet, these client

Video preview of this and all other te_ stocks can be found here:

Defined in msgstocks.inc at line 2800 . This documentation was automatically generated from source.