Raised This Month: $ Target: $400
 0% 

precache_sound or const


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Debesėlis
Senior Member
Join Date: Aug 2008
Location: Lithuania
Old 10-19-2010 , 17:36   precache_sound or const
Reply With Quote #1

Which is better?

PHP Code:
new const MENU_POPUP[ ] = "misc/menu_popup.wav" 
PHP Code:
    if ( file_exists"sound/misc/menu_popup.wav" ) )
        
precache_sound"misc/menu_popup.wav" ); 
Debesėlis 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 10:21.


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