Precache sounds from file
Hello. How to mace function that will precache sounds from .ini file. FE:
In sounds.ini I've got: Code:
"sounds/FiFiX/1.wav" |
Re: Precache sounds from file
PHP Code:
|
Re: Precache sounds from file
Better to use "new" files natives rather than read_file, but it's less important in plugin_precache.
|
Re: Precache sounds from file
@up
What it exactly mean? And how to radomly play sounds? Also would be great if amx will log sounds which it precached. |
Re: Precache sounds from file
Quote:
Quote:
|
Re: Precache sounds from file
But I want play it from plugin.
It would be: Code:
#include < amxmodx > And in plugin just add: Code:
Command_PlaySound(); |
Re: Precache sounds from file
Quote:
|
Re: Precache sounds from file
Heh Okay, Look for my edited. I want to place line in plugin hmm f.e. When player connect, and when he disconnects.
In: Code:
public client_connect(id)Code:
Command_PlaySound( ); |
Re: Precache sounds from file
Example on hw to precache .mp3 files :
PHP Code:
|
Re: Precache sounds from file
Quote:
|
| All times are GMT -4. The time now is 02:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.