SendAudio footsteps blocker by audio message . Can we replace or block some sounds by SendAudio message ? Please someone help . I believe it is possible still
register_message( get_user_msgid( "SendAudio" ), "MessageSendAudio","a") // I want Block Any sound(Example: footsteps) by this . Coz pulic Emit_sound is not working for them.
public MessageSendAudio(idmsg,dest,id) {
if(!is_user_connected(id) || !is_user_alive(id))
return PLUGIN_CONTINUE
if(equal(sample,"player/pl_dirt1.wav") || equal(sample,"player/pl_dirt2.wav") || equal(sample,"player/pl_dirt3.wav") || equal(sample,"player/pl_dirt4.wav") || equal(sample,"player/pl_step1.wav") || equal(sample,"player/pl_step2.wav") || equal(sample,"player/pl_step3.wav") || equal(sample,"player/pl_step4.wav"))
block this sound and play this client_cmd(id,"spk example audio.wav")
}
anyone can fix that ? and my other problem this:
https://forums.alliedmods.net/showth...22#post2580822 anyone fix this animation anime problem ? ( animation pev_anime not playing on the ground. if use not on the ground ( flying or falling or swimming then animation working)