[Ajuda] O que tem de errado neste code
#18

Quote:
Originally Posted by Ghost_
Посмотреть сообщение
so no hangloose no banheiro ein rsrsrs
kkkkkkkkkk pois й neh...



Код:
(45586) : error 055: start of function body without function header
(45588) : error 010: invalid function or declaration
(45596) : error 010: invalid function or declaration
(45598) : error 010: invalid function or declaration
(15486) : warning 204: symbol is assigned a value that is never used: "TTExplodir"
Linhas
Код:
Linha 45586 -> {
Linha 45588 -> if(tempoexplodir == 0)
Linha 45596 -> return 1;
Linha 45598 -> return 1;
Linha 15486 -> TTExplodir = SetTimer("ContTempPExplodir", 1000, true);
Comandos dos erros
Код:
if(strcmp(cmd, "/fuga", true) == 0)
{
    new contar[10];
    if(PlayerInfo[playerid][pMembro] == 5 || PlayerInfo[playerid][pLider] == 5 || PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6 || PlayerInfo[playerid][pMembro] == 8 || PlayerInfo[playerid][pLider] == 8 || PlayerInfo[playerid][pMembro] == 10 || PlayerInfo[playerid][pLider] == 10 || PlayerInfo[playerid][pMembro] == 12 || PlayerInfo[playerid][pLider] == 12 || PlayerInfo[playerid][pMembro] == 13 || PlayerInfo[playerid][pLider] == 13
    || PlayerInfo[playerid][pMembro] == 14 || PlayerInfo[playerid][pLider] == 14 || PlayerInfo[playerid][pMembro] == 15 || PlayerInfo[playerid][pLider] == 15 || PlayerInfo[playerid][pMembro] == 17 || PlayerInfo[playerid][pLider] == 17 || PlayerInfo[playerid][pMembro] == 18 || PlayerInfo[playerid][pLider] == 18 || PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19
    || PlayerInfo[playerid][pMembro] == 20 || PlayerInfo[playerid][pLider] == 20 || PlayerInfo[playerid][pMembro] == 21 || PlayerInfo[playerid][pLider] == 21 || PlayerInfo[playerid][pMembro] == 22 || PlayerInfo[playerid][pLider] == 22 || PlayerInfo[playerid][pMembro] == 23 || PlayerInfo[playerid][pLider] == 23 || PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24) return SendClientMessage(playerid, COLOR_GREY, "Vocк nгo й membro de uma Org particular, Gang ou Mбfia!");
    if (PlayerToPoint(20.0, playerid, 268.5397,86.3886,1001.0391))
    {
        if(tempoexplodir == 60)
        {
            SetTimer("Contar", 10000, false);
            TTExplodir = SetTimer("ContTempPExplodir", 1000, true);
            format(contar, sizeof(contar), "~w~%d", tempoexplodir);
            GameTextForPlayer(playerid, contar, 1000, 3);
            return 1;
        }
        else
        {
            SendClientMessage(playerid, 0xFF0000FF, "Vocк jб implantou uma bomba, aguarde...");
            format(contar, sizeof(contar), "~w~TEMPO RESTANTE~r~%d", tempoexplodir);
            GameTextForPlayer(playerid, contar, 1000, 3);
            return 1;
        }
    }
    return true;
}


public ContTempPExplodir(playerid);
{
    tempoexplodir--;
    if(tempoexplodir == 0)
    {
        CreateExplosion(268.5397,86.3886,1001.0391,12, 10.0);
        GameTextForPlayer(playerid, "Vocк soltou os presos", 5000, 3);
        MoveObject( PortaoPmec, 268.5721,93.7202,1001.0391,3);
        SetTimer("PortaoFugaDPPMAndando", 10000, false);
        tempoexplodir = 60;
        KillTimer(TTExplodir);
        return 1;
    }
    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 6 Guest(s)