Raised This Month: $ Target: $400
 0% 

Sounds Not Playing


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Copper
Senior Member
Join Date: Feb 2012
Location: California
Old 04-21-2017 , 20:59   Re: Sounds Not Playing
Reply With Quote #1

Quote:
Originally Posted by EFFx View Post
1. Put .wav sufix at the constants

2.
Code:
public plugin_precache( ) {     precache_sound (T_Win);     precache_sound (I_Win); }

3.There's no ID at T_win and I_Win events, you must loop all players with get_players().
For 1&2 Weird. I have different sounds playing for other parts of the plugin and I didn't add the .wav suffix and they are working just fine.
3. Oh crap, I forgot to add the id

Last edited by Copper; 04-21-2017 at 21:06.
Copper 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 17:56.


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