Vardes
Новичок
Всем привет!
Ошибка в /maska когда ввожу скрывает на 10 минут , но когда проходит 10 минут , не пишет что "Действие маски окончено"
За помощь "+"
Ошибка в /maska когда ввожу скрывает на 10 минут , но когда проходит 10 минут , не пишет что "Действие маски окончено"
За помощь "+"
if(strcmp(cmd, "/maska", true) == 0)
{
if(mask24[playerid] == 0) return SendClientMessage(playerid,COLOR_GRAD2, "У Вас нет маски !");
if(GetPVarInt(playerid, "MASKON") == 1) return SendClientMessage(playerid,COLOR_GRAD2,"На Вас уже одета маска");
SetPlayerChatBubble(playerid, "Одевает маску", 0x000000AA, 10.0, 2000);
ApplyAnimation(playerid, "SHOP", "ROB_Shifty", 4.0, 0, 0, 0, 0, 0);
SetPlayerColor(playerid, 0x7a766700);
mask24[playerid] = 0;
SetPVarInt(playerid, "MASKON", 1);
MASKED[playerid] = 600;
SendClientMessage(playerid,0x0099FFAA, "Ваше местоположение на карте скрыто на 10 минут.");
return 1;
}
{
if(mask24[playerid] == 0) return SendClientMessage(playerid,COLOR_GRAD2, "У Вас нет маски !");
if(GetPVarInt(playerid, "MASKON") == 1) return SendClientMessage(playerid,COLOR_GRAD2,"На Вас уже одета маска");
SetPlayerChatBubble(playerid, "Одевает маску", 0x000000AA, 10.0, 2000);
ApplyAnimation(playerid, "SHOP", "ROB_Shifty", 4.0, 0, 0, 0, 0, 0);
SetPlayerColor(playerid, 0x7a766700);
mask24[playerid] = 0;
SetPVarInt(playerid, "MASKON", 1);
MASKED[playerid] = 600;
SendClientMessage(playerid,0x0099FFAA, "Ваше местоположение на карте скрыто на 10 минут.");
return 1;
}
