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

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

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