rg_emit_texture_sound
native rg_emit_texture_sound(const ptr, Float:vecSrc[3], Float:vecEnd[3], Bullet:iBulletType);
| Parameter |
Description |
| 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 |
Emits a sound based on a traceresult simulating a bullet hit (metal, wood, concrete, etc.).
Used mostly on trace attacks (bullets, knife).
This function has no return value.