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

Editing CreateDialog after send


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
farawayf
Senior Member
Join Date: Jan 2019
Old 04-11-2019 , 09:42   Editing CreateDialog after send
Reply With Quote #1

I can not understand why the time of CreateDialog is not set less than 10 seconds.
I tried many options, including "CancelClientMenu: MenuStyle_Valve" but nothing work.

I would like to know if it is possible to edit an already running one instead of closing it?
upd. I know that this is possible, I have seen on some servers, but they don’t tell me how to do it

PHP Code:

          decl String
:amount[70];
          
Format(amountsizeof(amount), "... Jumps %i"jumps[client]);
          new 
Handle:kva CreateKeyValues("Stuff");
          
KvSetFloat(kva"time",  0.8);
          
KvSetNum(kva"level"2);  
          
KvSetString(kva"title"amount);
          
CreateDialog(clientkvaDialogType_Msg);
          
CloseHandle(kva); 
the function is triggers after the jump, and it should count and send in CreateDialog for 0.8 seconds, but the problem is: time is always 10 seconds, and the new message after the jump does not interrupt the old one.

Last edited by farawayf; 04-11-2019 at 11:56.
farawayf 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 08:10.


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