Raised This Month: $ Target: $400
 0% 

emit sound to specific player


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mateo10
Veteran Member
Join Date: Jan 2006
Old 06-25-2007 , 05:41   Re: emit sound to specific player
Reply With Quote #1

Change the aocvoice31 function to this:

Code:
public aocvoice31(id){ client_print(0,print_chat,"%L",LANG_PLAYER,"ATTACK_ATTACK") new players[32], num; get_players(players, num); new player; for (i=0; i<num; i++) {     players[i] = player;     if (mute[player] == 1) {         emit_sound(player,CHAN_VOICE,"31.wav", VOL_NORM, ATTN_NORM, 0, PITCH_NORM)         }         else {         return PLUGIN_CONTINUE     } } return PLUGIN_HANDLED; }

Last edited by mateo10; 06-25-2007 at 05:46.
mateo10 is offline
Reply



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 21:25.


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