stock te_create_gunshot(position[3], receiver = 0, bool:reliable = true)
position | Gunshot coordinates |
receiver | Client index that will be able to see the gunshot or 0 for all clients |
reliable | If true, the message will be sent via the reliable channel, otherwise it will use the unreliable one |
Creates a gunshot that consists of a particle effect and a ricochet sound.
Video preview of this and all other te_ stocks can be found here: https://youtu.be/szW-bSMPuyQ?t=36s
0 if "receiver" is non-zero and the client isn't connected, 1 otherwise
This documentation was automatically generated using pawn-docgen made by xPaw for AlliedMods.