Play .wav when someonay says a word...
I think it's not hard...
I need to know how I can make a .wav sound plays when someone says a specific word... But, it has to play for everyone close to this person... Code:
I only know this peace of code :oops: :stupid: can someone plz help me? |
Code:
|
Quote:
O.O is this plugin going to emit the sound only when some specific word is said? |
Quote:
|
Quote:
yes, I know, thanks for correcting me... =P I make this mistakes normally, I don't speak english perfectly so I may get some mistakes... I know.. so change my question to: "is this code... ?" |
would this really work?
Code:
|
Quote:
Why? It prevents the server from crashing if it does not have it. But, you should make it print a warning message if its not precached to let the server know so they can add it. Just in case somebody wants to argue Quote:
|
"file_exist" is necessary
Code:
public plugin_precache() { so check if such file exists before using it |
oh, i thought it was client side
so if the file was found on client then dl, if not no dl. sry |
precache = load file
if client cannot load it, download it and then load it |
| All times are GMT -4. The time now is 20:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.