AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   thetime sound (https://forums.alliedmods.net/showthread.php?t=214107)

Blizzard_87 04-23-2013 06:47

thetime sound
 
when you type thetime in chat it speaks out the time..

what dir are those sounds so i can use them with a spk command?

example

spk "vox/hello"

but with thetime how to i call those sounds?

hornet 04-23-2013 07:41

Re: thetime sound
 
This would do the trick for the numbers if that's what you mean:
Code:
vox_say_num( const iNum ) {     new szNum[ 128 ];     num_to_word( iNum, szNum, charsmax( szNum ) );         client_cmd( 0, "spk ^"vox/%s^"", szNum ); }

Blizzard_87 04-23-2013 07:50

Re: thetime sound
 
Quote:

Originally Posted by hornet (Post 1938147)
This would do the trick for the numbers if that's what you mean:
Code:
vox_say_num( const iNum ) {     new szNum[ 128 ];     num_to_word( iNum, szNum, charsmax( szNum ) );         client_cmd( 0, "spk ^"vox/%s^"", szNum ); }

thanks that was going to be my next question with numbers..

but i mean like....

different sound....

spk "vox/one"

spk "hgrunt/shit"

etc etc...

is there another one that plays words or numbers like the VOX one does?

hornet 04-23-2013 08:01

Re: thetime sound
 
There's fvox which is the robotic one.

Blizzard_87 04-23-2013 08:02

Re: thetime sound
 
Quote:

Originally Posted by hornet (Post 1938155)
There's fvox which is the robotic one.

thanks i'll try it out :P


All times are GMT -4. The time now is 10:52.

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