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(amount, sizeof(amount), "... Jumps %i", jumps[client]);
new Handle:kva = CreateKeyValues("Stuff");
KvSetFloat(kva, "time", 0.8);
KvSetNum(kva, "level", 2);
KvSetString(kva, "title", amount);
CreateDialog(client, kva, DialogType_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.