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

Solved [TF2 Bug] sm_tsay not working


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dr.Doctor
AlliedModders Donor
Join Date: Feb 2017
Location: Hong Kong
Old 05-22-2019 , 11:24   [TF2 Bug] sm_tsay not working
Reply With Quote #1

I had tried !sm_tsay on my servers and it didn't work.

Also I had tried to use this function but it doesn't work too.
PHP Code:
void SendDialogToOne(int clientint color, const char[] textany ...)
{
    
char message[100];
    
VFormat(messagesizeof(message), text4);    
    
    
KeyValues kv = new KeyValues("Stuff""title"message);
    
kv.SetColor("color"g_Colors[color][0], g_Colors[color][1], g_Colors[color][2], 255);
    
kv.SetNum("level"1);
    
kv.SetNum("time"10);
    
    
CreateDialog(clientkvDialogType_Msg);

    
delete kv;

Any idea?
__________________

Last edited by Dr.Doctor; 05-22-2019 at 13:38.
Dr.Doctor is offline
CrazyHackGUT
AlliedModders Donor
Join Date: Feb 2016
Location: Izhevsk, Russia
Old 05-22-2019 , 11:29   Re: [TF2 Bug] sm_tsay not working
Reply With Quote #2

Code:
"Stuff"
Replace to "text".
__________________
My english is very bad. I am live in Russia. Learning english language - very hard task for me...
CrazyHackGUT is offline
Send a message via ICQ to CrazyHackGUT Send a message via Skype™ to CrazyHackGUT
Dr.Doctor
AlliedModders Donor
Join Date: Feb 2017
Location: Hong Kong
Old 05-22-2019 , 12:41   Re: [TF2 Bug] sm_tsay not working
Reply With Quote #3

Well :/

TF2 !tsay is broken because of
PHP Code:
"cl_showpluginmessages" "0"
 
archive
 
Allow plugins to display messages to you 
Thanks Pelipoika for reminding me
__________________
Dr.Doctor is offline
Reply


Thread Tools
Display Modes

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 21:16.


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