TaZuS
Новичок
Не работает второй чекпоинт.
PHP:
if(yagoda[playerid]) // Чекпоинт
{
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid, -2326.6836,29.7444,337.5222, 3.0);
myVariable += 1;
ApplyAnimation(playerid,"BOMBER","BOM_Plant",4.0,1,1,1,1,0);
yagoda[playerid] = false;
}
if(yagoda2[playerid]) // Второй чекпоинт
{
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid, -2246.4827,-2326.6836,29.7444, 3.0);
myVariable += 1;
ApplyAnimation(playerid,"BOMBER","BOM_Plant",4.0,1,1,1,1,0);
yagoda2[playerid] = false;
}
if(yagoda3[playerid]) // Третий, на всякий случай.
{
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid, -2247.2708,-2337.1396,29.8747, 3.0);
myVariable += 1;
ApplyAnimation(playerid,"BOMBER","BOM_Plant",4.0,1,1,1,1,0);
yagoda3[playerid] = false;
}
