Raised This Month: $ Target: $400
 0% 

add 3 commands on a key


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 12-28-2008 , 07:16   Re: add 3 commands on a key
Reply With Quote #7

Better yet, create a global constant variable:
PHP Code:
new const g_szSound[] = "sound/catchmod/turbo.wav";

public 
plugin_precache()
{
    
precache_soundg_szSound );
}

// [...]

// Now add this where you want the sound to be played:
emit_soundidCHAN_AUTOg_szSoundVOL_NORMATTN_NORM0PITCH_NORM ); 
__________________
O o
/Ż________________________
| IMMA FIRIN' MAH LAZOR!!!
\_ŻŻŻ
Dores is offline
 



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 09:05.


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