Добро пожаловать!

Зарегистрировавшись у нас, вы сможете обсуждать, делиться и отправлять личные сообщения другим участникам нашего сообщества.

Зарегистрироваться!
  • Если Вы желаете помогать развитию проекта, готовы заполнять раздел(-ы) и подсказывать другим пользователям на портале, есть возможность попасть в команду редакторов. Для этого следует обратиться в техническую поддержку
Активный
Регистрация
17 Июл 2023
Сообщения
211
case 1678:
{
if(!response) return 1;
{
switch(listitem)
{
case 0:
{
UpdatePlayerPos(playerid, -1114.9940,-786.3970,1514.8615);
SetPlayerInterior(playerid, 20);
SetPlayerVirtualWorld(playerid, 0);
executeEvent(playerid, 0, "window.executeEvent('cef.modals.showModal',`[\"dialogTip\",{\"position\":\"rightBottom\",\"backgroundImage\":\"quest_basic_background_1.png\",\"icon\":\"icon-info\",\"iconColor\":\"#5FC6FF\",\"highlightColor\":\"#5FC6FF\",\"text\":\"Добро пожаловать в Vice City!\"}]`);");

}
case 1:
{
UpdatePlayerPos(playerid, 1642.2195,-2335.4963,13.5469);
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid, 0);
executeEvent(playerid, 0, "window.executeEvent('cef.modals.showModal',`[\"dialogTip\",{\"position\":\"rightBottom\",\"backgroundImage\":\"quest_basic_background_1.png\",\"icon\":\"icon-info\",\"iconColor\":\"#5FC6FF\",\"highlightColor\":\"#5FC6FF\",\"text\":\"С возвращением в San Andreas!\"}]`);");
}
}
}
}


как зделать так чтоби executeEvent(playerid, 0, "window.executeEvent('cef.modals.showModal',`[\"dialogTip\",{\"position\":\"rightBottom\",\"backgroundImage\":\"quest_basic_background_1.png\",\"icon\":\"icon-info\",\"iconColor\":\"#5FC6FF\",\"highlightColor\":\"#5FC6FF\",\"text\":\"Добро пожаловать в Vice City!\"}]`);");
закривался через 1000 мл секунд
 
Заблокированный
Регистрация
17 Мар 2024
Сообщения
12
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки. Мы не несем ответственности за действия пользователя вне форума.
executeEvent(playerid, 0, "window.executeEvent('cef.modals.showModal',`[\"dialogTip\",{\"position\":\"rightBottom\",\"backgroundImage\":\"quest_basic_background_1.png\",\"icon\":\"icon-info\",\"iconColor\":\"#5FC6FF\",\"highlightColor\":\"#5FC6FF\",\"text\":\"Добро пожаловать в Vice City!\"}]`);");
Вот это замени на -
Pawn:
SetTimerEx("TimerViceCity", 1000, false, "i", playerid);

В конец мода -
Pawn:
public: TimerViceCity(playerid)
    return executeEvent(playerid, 0, "window.executeEvent('cef.modals.showModal',`[\"dialogTip\",{\"position\":\"rightBottom\",\"backgroundImage\":\"quest_basic_background_1.png\",\"icon\":\"icon-info\",\"iconColor\":\"#5FC6FF\",\"highlightColor\":\"#5FC6FF\",\"text\":\"Äîáðî ïîæàëîâàòü â Vice City!\"}]`);");
 
Сверху