[Ajuda] Erro Simples
#1

Boas pessoal, tou com um problema, ja dei voltas e voltas e nгo consigo resolver isto:
Problemas
C:\Documents and Settings\Jogos\Ambiente de trabalho\server\gamemodes\MaPeR.pwn(18 : warning 213: tag mismatch
C:\Documents and Settings\Jogos\Ambiente de trabalho\server\gamemodes\MaPeR.pwn(189) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Warnings.

Linhas:
bombE [1] = CreatePickup(1318,1,1803.9830,-1772.1866,13.5469,93.7384);
bomb [1] = CreatePickup(1318,1,7659,-1785.6730,489.4934,90.0017);

Jб adicionei em cima o new bombE [] e o bomb[]

Бs tantas й uma coisa simples mas ja dei voltas e voltas e nгo me safo, quem poder ajudar agrdeзo
Reply
#2

pawn Код:
new bomb[2];

bomb[0] = CreatePickup(1318, 23, 1803.9830, -1772.1866, 13.5469, -1);
bomb[1] = CreatePickup(1318, 23, 7659,-1785.6730, 489.4934, -1);
Reply
#3

poste os seus
pawn Код:
new's
em relaзгo a
pawn Код:
bombE
e
pawn Код:
bomb
Reply
#4

Se й simples pq tu nгo resolve?
Faзa como o Coe1 falou..
Reply
#5

Quote:
Originally Posted by Coe1
Посмотреть сообщение
pawn Код:
new bomb[2];

bomb[0] = CreatePickup(1318, 23, 1803.9830, -1772.1866, 13.5469, -1);
bomb[1] = CreatePickup(1318, 23, 7659,-1785.6730, 489.4934, -1);
muitos deles nao sabem o porque do -1 no fim, pra quem quiser saber

olhe aqui: https://sampwiki.blast.hk/wiki/CreatePickup

significa que a pickup sera vista em todos os Virtual World's
Reply
#6

Problema resolvido obrigado a quem ajudou
Reply
#7

Jб agora alguem me pode ajudar neste problema?
pawn Код:
C:\Documents and Settings\Jogos\Ambiente de trabalho\server\gamemodes\MaPeR.pwn(1573) : error 010: invalid function or declaration
C:\Documents and Settings\Jogos\Ambiente de trabalho\server\gamemodes\MaPeR.pwn(1575) : error 010: invalid function or declaration
pawn Код:
}

    if (strcmp("/portao", cmdtext, true, 10) == 0)
    {
    if(IsPlayerInRangeOfPoint(playerid,7.0, 1811.63208, -1792.84839, 14.22330))
    }
    {
    SendClientMessage(playerid, -1, "Portгo Aberto, irб Fechar em 5 Segundos");
    MoveObject(PortaoBomb, 980, 1811.44067, -1804.26599, 14.22330,   0, 0, 270);
    SetTimer("ClosePortao", 5000, false);
Reply
#8

pawn Код:
if (strcmp("/portao", cmdtext, true, 10) == 0)
{
    if(IsPlayerInRangeOfPoint(playerid,7.0, 1811.63208, -1792.84839, 14.22330))
    {
        SendClientMessage(playerid, -1, "Portгo Aberto, irб Fechar em 5 Segundos");
        MoveObject(PortaoBomb, 980, 1811.44067, -1804.26599, 14.22330,   0, 0, 270);
        SetTimer("ClosePortao", 5000, false);
    }
    return 1;
}
Reply
#9

Continua com o mesmo erro
pawn Код:
C:\Documents and Settings\Jogos\Ambiente de trabalho\server\gamemodes\MaPeR.pwn(1572) : error 010: invalid function or declaration
C:\Documents and Settings\Jogos\Ambiente de trabalho\server\gamemodes\MaPeR.pwn(1574) : error 010: invalid function or declaration
C:\Documents and Settings\Jogos\Ambiente de trabalho\server\gamemodes\MaPeR.pwn(1580) : error 010: invalid function or declaration
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


3 Errors.
pawn Код:
}
if (strcmp("/portao", cmdtext, true, 10) == 0)
{
    if(IsPlayerInRangeOfPoint(playerid,7.0, 1811.63208, -1792.84839, 14.22330))
    {
        SendClientMessage(playerid, -1, "Portгo Aberto, irб Fechar em 5 Segundos");
        MoveObject(PortaoBomb, 980, 1811.44067, -1804.26599, 14.22330,   0, 0, 270);
        SetTimer("ClosePortao", 5000, false);
    }
    return 1;
}
Reply
#10

Vocк deve estar pondo fora da Callback este comando.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)