[Ajuda]Org
#1

pawn Код:
C:\Users\Richard\Desktop\Zau\gamemodes\BMGbruno.pwn(4408) : warning 202: number of arguments does not match definition
C:\Users\Richard\Desktop\Zau\gamemodes\BMGbruno.pwn(6414) : warning 213: tag mismatch
C:\Users\Richard\Desktop\Zau\gamemodes\BMGbruno.pwn(6414) : warning 202: number of arguments does not match definition
C:\Users\Richard\Desktop\Zau\gamemodes\BMGbruno.pwn(6414) : warning 202: number of arguments does not match definition
C:\Users\Richard\Desktop\Zau\gamemodes\BMGbruno.pwn(6523) : error 017: undefined symbol "donofavela"
C:\Users\Richard\Desktop\Zau\gamemodes\BMGbruno.pwn(9070) : error 017: undefined symbol "IsAbutresCar"
C:\Users\Richard\Desktop\Zau\gamemodes\BMGbruno.pwn(9072) : error 004: function "Isabutres" is not implemented
C:\Users\Richard\Desktop\Zau\gamemodes\BMGbruno.pwn(16794) : error 032: array index out of bounds (variable "InfoOrg")
C:\Users\Richard\Desktop\Zau\gamemodes\BMGbruno.pwn(44867) : error 025: function heading differs from prototype
C:\Users\Richard\Desktop\Zau\gamemodes\BMGbruno.pwn(44869) : error 029: invalid expression, assumed zero
C:\Users\Richard\Desktop\Zau\gamemodes\BMGbruno.pwn(44869) : error 017: undefined symbol "caird"
C:\Users\Richard\Desktop\Zau\gamemodes\BMGbruno.pwn(44873) : warning 225: unreachable code
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


7 Errors.
linha 16794
pawn Код:
format(string, sizeof(string), "Abutres: %s", InfoOrg[22][Lider]);
erro do caird
pawn Код:
public IsAbutre(carid)
{
    if(carid >= 643 && carid <= 644) || (carid == 645 || caird == 645)
    {
        return 1;
    }
    return 0;
}
to tentando adaptar essa GG " ABUTRES " sу que aparece os seguintes erros.
Reply
#2

caird nгo o correto й carid

Jб sua adaptaзгo nгo da pra entender certamente o que vocк quer '-' explica melhor
Reply
#3

colocando nova org

#agora sгo sу 3 erros

pawn Код:
C:\Users\Richad\Desktop\Progressao pawn\gamemodes\BMGbruno.pwn(4408) : warning 202: number of arguments does not match definition
C:\Users\Richad\Desktop\Progressao pawn\gamemodes\BMGbruno.pwn(6414) : warning 213: tag mismatch
C:\Users\Richad\Desktop\Progressao pawn\gamemodes\BMGbruno.pwn(6414) : warning 202: number of arguments does not match definition
C:\Users\Richad\Desktop\Progressao pawn\gamemodes\BMGbruno.pwn(6414) : warning 202: number of arguments does not match definition
C:\Users\Richad\Desktop\Progressao pawn\gamemodes\BMGbruno.pwn(9070) : error 017: undefined symbol "IsAbutresCar"
C:\Users\Richad\Desktop\Progressao pawn\gamemodes\BMGbruno.pwn(9072) : error 004: function "Isabutres" is not implemented
C:\Users\Richad\Desktop\Progressao pawn\gamemodes\BMGbruno.pwn(16794) : error 032: array index out of bounds (variable "InfoOrg")
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


3 Errors.
Reply
#4

Se tu mandar o cуdigo todo, acho que fica melhor pra entender.
Reply
#5

pawn Код:
forward IsAbutres(playerid);
forward IsAbutresCar(carid);
pawn Код:
else if(IsAbutresCar(newcar))
            {
                if(!IsAbutres(playerid))
                {
                    SendClientMessage(playerid, Branco, "Vocк nгo й dos abutres, por isso nгo tem a chave desse veнculo!");
                    RemovePlayerFromVehicleEx(playerid);
                }
            }
Reply
#6

Manda a public "IsAbutres(playerid)"
Reply
#7

mano tem q ser IsAAbutres eu acho!!
Reply
#8

Quote:
Originally Posted by Matheus_Vieira
Посмотреть сообщение
mano tem q ser IsAAbutres eu acho!!
Se й uma org que ele estб criando, a public tambйm й ele que tб criando, nгo tem nada haver.
Reply
#9

public IsAbutre(carid)
{
if(carid >= 643 && carid <= 644) || (carid == 645 || caird == 645))
{
return 1;
}
return 0;
}

Tenta agora!! Vocк esqueceu do ")" pois sгo dois!!
Reply
#10

Isto deve resolver o seu problema .


Primeiramente retire do seu GameMode a seguinte linha :


pawn Код:
forward IsAbutresCar(carid);

Em seguida apague os cуdigos forward e public relativos ao sнmbolo Isabutres.



Depois disso, coloque no Topo do GameMode :



pawn Код:
#define Isabutres IsAbutres


E por fim, coloque no Final do GM :



pawn Код:
stock IsAbutresCar(carid)
{
    if((carid >= 643 && carid <= 644) || (carid == 645 || carid == 645))
    {
        return 1;
    }
    return 0;
}


Quanto ao problema da variбvel InfoOrg, procure no seu Gamemode pela linha de criaзгo desta (Tecle Ctrl + F e procure por new InfoOrg) e troque o valor que estiver dentro dos dois primeiros colchetes por 23 .




Espero ter ajudado .
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)