te_place_gunshot_decal
Places a gunshot decal on an entity or the world and plays a ricochet sound.
Syntax
stock te_place_gunshot_decal(position[3], decal = 41, entity = 0, receiver = 0, bool:reliable = true) {
Usage
| decal | Decal index (0 - 255) |
| entity | Entity to apply the decal to or 0 for world |
| receiver | Client index that will be able to see the model |
| reliable | If true, the message will be sent via the reliable |
Return
This function has no return value.
Notes
Video preview of this and all other te_ stocks can be found here:
Errors
If "receiver" is non-zero and the client isn't
Defined in
msgstocks.inc
at line 2224
.
This documentation was automatically generated from source.