Raised This Month: $52 Target: $400
 13% 

Solved [TF2 Bug] sm_tsay not working


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dr.Doctor
Member
Join Date: Feb 2017
Location: VAC Ban
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?
__________________
Main Developer in @tf2-sandbox-studio
Windows Game Server Manager - WindowsGSM

3 years TF2 server owner experience


Last edited by Dr.Doctor; 05-22-2019 at 13:38.
Dr.Doctor is online now
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
Member
Join Date: Feb 2017
Location: VAC Ban
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
__________________
Main Developer in @tf2-sandbox-studio
Windows Game Server Manager - WindowsGSM

3 years TF2 server owner experience

Dr.Doctor is online now
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 16:35.


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