| 802 | } |
| 803 | |
| 804 | static cell_t StopSound(IPluginContext *pContext, const cell_t *params) |
| 805 | { |
| 806 | int entity = SoundReferenceToIndex(params[1]); |
| 807 | int channel = params[2]; |
| 808 | |
| 809 | char *name; |
| 810 | pContext->LocalToString(params[3], &name); |
| 811 | |
| 812 | #if SOURCE_ENGINE >= SE_PORTAL2 |
| 813 | engsound->StopSound(entity, channel, name, -1); |
| 814 | #else |
| 815 | engsound->StopSound(entity, channel, name); |
| 816 | #endif |
| 817 | |
| 818 | return 1; |
| 819 | } |
| 820 | |
| 821 | static cell_t EmitSound(IPluginContext *pContext, const cell_t *params) |
| 822 | { |
nothing calls this directly
no test coverage detected