Raised This Month: $51 Target: $400
 12% 

Spk command


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DarkM4A1
Junior Member
Join Date: Feb 2014
Old 01-19-2015 , 09:56   Spk command
Reply With Quote #1

Hi long time no see Anyways i wanted to ask why is my spk command stopping? Here's the part of the code:
PHP Code:
client_cmd(targetindex,"spk %s","i will kill you"
return PLUGIN_HANDLED 
Only thing that can be heard is "i"
What am i doing wrong?
DarkM4A1 is offline
Shiina.Mashiro
Senior Member
Join Date: Sep 2014
Location: Vietnam
Old 01-19-2015 , 10:27   Re: Spk command
Reply With Quote #2

Quote:
Originally Posted by DarkM4A1 View Post
Hi long time no see Anyways i wanted to ask why is my spk command stopping? Here's the part of the code:
PHP Code:
client_cmd(targetindex,"spk %s","i will kill you"
return PLUGIN_HANDLED 
Only thing that can be heard is "i"
What am i doing wrong?
your command makes the client to put to their console this:

HTML Code:
spk i will kill you
the result is only "i" being spoken
__________________
Shiina.Mashiro is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 01-19-2015 , 10:32   Re: Spk command
Reply With Quote #3

Spk command dose not support a speech, if you want a speech then you have to get the wava sound file.

Last edited by Natsheh; 01-19-2015 at 10:37.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
DarkM4A1
Junior Member
Join Date: Feb 2014
Old 01-19-2015 , 11:01   Re: Spk command
Reply With Quote #4

I also tried this
PHP Code:
client_cmd(targetindex,"spk i")
client_cmd(targetindex,"spk will")
client_cmd(targetindex,"spk kill")
client_cmd(targetindex,"spk you")
return 
PLUGIN_HANDLED 
But that says all words at once
How can i do it without a sound file?
DarkM4A1 is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 01-19-2015 , 16:11   Re: Spk command
Reply With Quote #5

Make a set task

Or

Use this format "spk ^" i will kill you^""

Last edited by Natsheh; 01-19-2015 at 16:14.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
DarkM4A1
Junior Member
Join Date: Feb 2014
Old 01-20-2015 , 04:47   Re: Spk command
Reply With Quote #6

Quote:
Originally Posted by Natsheh View Post
Make a set task

Or

Use this format "spk ^" i will kill you^""
Thanks man that solved the problem
DarkM4A1 is offline
Reply



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 13:28.


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