[Ajuda] Pawn Parou de Funcionar
#1

Quando coloco um cуdigo de portгo automatico que achei aqui no forum e tento compilar, aparece que o Pawn Parou de Funcionar.
Isso acontece quando coloco esse cуdigo:

pawn Код:
if (strcmp("/portao", cmdtext, true, 10) == 0)
    {
    if(IsPlayerInRangeOfPoint(playerid,7.0, 1, 2, 3))
    {
    SendClientMessage(playerid, -1, "Portгo Aberto, irб Fechar em 5 Segundos");
    MoveObject(Portao, 1, 2, 2, 1.0, 0.0, 0.0, 0.0);
    SetTimer("ClosePortao", 5000, false);
    }
    return 1;
    }
    return 0;
    }
    }
Se alguem puder me ajudar, agradeзo muito.
Reply
#2

pawn Код:
if (strcmp("/portao", cmdtext, true, 10) == 0)
{
   
    if(IsPlayerInRangeOfPoint(playerid,7.0, 1, 2, 3))
    {
       
        SendClientMessage(playerid, -1, "Portгo Aberto, irб Fechar em 5 Segundos");
        MoveObject(Portao, 1, 2, 2, 1.0, 0.0, 0.0, 0.0);
        SetTimer("ClosePortao", 5000, false);
    }
    return 1;
}
return 0;
Cuidado com os " { " " } " vocк colocou dois " } " que nгo estavam sendo abertos.. '-'
Reply
#3

Muito obrigado :3 Eu peguei ele na net, e pensei que era algum erro no pawn, agora jб sei que й chaves heahuehueha valew
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)