Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

хелп

Июл
210
55
Активный
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 мл секунд
 
Мар
12
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!\"}]`);");
Вот это замени на -
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!\"}]`);");
 
Сверху