plugins/include/sdktools_sound.inc
changeset 1928 e447e2471702
parent 1735 d6966e3316e9
child 1947 e73a1e51833b
     1.1 --- a/plugins/include/sdktools_sound.inc	Wed Mar 12 04:51:41 2008 +0000
     1.2 +++ b/plugins/include/sdktools_sound.inc	Wed Mar 12 05:21:56 2008 +0000
     1.3 @@ -130,11 +130,13 @@
     1.4  native PrefetchSound(const String:nane[]);
     1.5  
     1.6  /**
     1.7 - * Gets a sound's duration (does not work for mp3s).
     1.8 + * This function is not known to work, and may crash.  You should 
     1.9 + * not use it.  It is provided for backwards compatibility only.
    1.10   *
    1.11   * @param name		Sound file name relative to the "sounds" folder.
    1.12   * @return			Duration in seconds.
    1.13   */
    1.14 +#pragma deprecated Does not work, may crash.
    1.15  native Float:GetSoundDuration(const String:name[]);
    1.16  
    1.17  /**