Signature
native rg_emit_texture_sound(const ptr, Float:vecSrc[3], Float:vecEnd[3], Bullet:iBulletType);
Description
Emits a sound based on a traceresult simulating a bullet hit (metal, wood, concrete, etc.).
Notes
- Used mostly on trace attacks (bullets, knife).
Parameters
- ptr — Traceresult pointer, use Fakemeta's create_tr2 to instantiate one
- vecSrc — Start position
- vecEnd — End position, must match ptr's vecEndPos member
- iBulletType — Bullet type, see BULLET_* constants in cssdk_const.inc
No return value