Raised This Month: $ Target: $400
 0% 

emit_sound


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Chihuahuax
Senior Member
Join Date: Oct 2014
Location: Malaysia
Old 11-07-2015 , 10:35   Re: emit_sound
Reply With Quote #5

Quote:
Originally Posted by CrazY. View Post
The problem is the code and your sound, try:

Code:
#include < amxmodx > public plugin_init() {     register_plugin( "Plugin", "1.0", "Rejack" );         register_clcmd( "say /emit", "cmdEmit" );     register_clcmd( "say_team /emit", "cmdEmit" ); } public plugin_precache() {     precache_sound( "slash_hit_emit.wav" ); } public cmdEmit( const client ) {     client_cmd( client, "spk sound/slash_hit_emit.wav" );         client_print( client, print_chat, "emitted sound." ); }
Valve has blocked client_cmd
Chihuahuax is offline
Send a message via Skype™ to Chihuahuax
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:05.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode