Need help?
Create a topic in the appropriate section
Don't write everything in the chat!Take a look at the marketplace
There you can buy
everything related to game serversDon't want a ban?
Please read our rules
Don't disturb the order!Sell or buy?
Use services of the guarantor
We will make your deal safe
- 0
-
Our picks
Здравствуйте! Чем можно заменить данное выражение? TDateTime dt видимо не поддерживается или библиотеки нет для даты и времени... Подскажите пожайлуста
if ( БЛАБЛА.GetCommand() == v_Command )
{
TDateTime dt; // При запуске локального сервера пишет на эту строчку: Broken expression (missing ';?)
TFormatSettings FormatSettings;
FormatSettings.DateSeparator = '-';
FormatSettings.TimeSeparator = ':';
FormatSettings.LongDateFormat = "YYYY-MM-DD";
FormatSettings.ShortDateFormat = "YYYY-MM-DD";
FormatSettings.ShortTimeFormat = "HH:MM:SS";
FormatSettings.LongTimeFormat = "HH:MM:SS";
if (TryStrToDateTime(БЛАБЛА.GetDateUse() + " " + БЛАБЛА.GetTimeUse(), dt, FormatSettings)) {
TDateTime delta = TDateTime.CurrentTime() - dt;
if (delta > БЛАБЛАБЛАБЛА.GetPauseTime()) {
continue;
}
}
БЛАБЛАБЛАБЛАБЛА.SendMessage( PlayerBase, " ");
return;
}
Share this post
Link to post
Share on other sites