[Ajuda] nesses erro .
#1

Esses Sгo os Errors :

Quote:

C:\Users\weverton\Downloads\Nova pasta\gamemodes\BLH.pwn(21579) : warning 204: symbol is assigned a value that is never used: "carid"
C:\Users\weverton\Downloads\Nova pasta\gamemodes\BLH.pwn(43560) : warning 217: loose indentation
C:\Users\weverton\Downloads\Nova pasta\gamemodes\BLH.pwn(45872) : warning 225: unreachable code
C:\Users\weverton\Downloads\Nova pasta\gamemodes\BLH.pwn(6606 : warning 235: public function lacks forward declaration (symbol "SalvarInformacoes")
C:\Users\weverton\Downloads\Nova pasta\gamemodes\BLH.pwn(13570) : warning 204: symbol is assigned a value that is never used: "BolsaDeValoresPick"
C:\Users\weverton\Downloads\Nova pasta\gamemodes\BLH.pwn(13570 -- 66405) : warning 203: symbol is never used: "nickname"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size: 11708 bytes
Code size: 2646996 bytes
Data size: 9560788 bytes
Stack/heap size: 16384 bytes; estimated max. usage=6468 cells (25872 bytes)
Total requirements:12235876 bytes

6 Warnings.

Reply
#2

Poste as linhas dos erros .
Reply
#3

Reply
#4

Quote:
Originally Posted by Gleisson_.
Посмотреть сообщение
Me empresta uma?
A minha bugo '-'

Quote:

1. This forum requires that you wait 120 seconds between posts. Please try again in 9 seconds.

Reply
#5

Quote:

ESTAI AS LINHA

new carid = PlayerInfo[playerid][pPHousekey]+totalveiculosh;

ERROR 2

if(strcmp(cmd, "/antixiter", true) == 0)
{
if (PlayerInfo[playerid][pAdmin] >= 6)
{
if(antixiter == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Anti xiter de armas ligado");
antixiter = 0;
return 1;
}
antixiter = 1;
SendClientMessage(playerid, COLOR_GRAD5, "Anti xiter de armas desligado");
return 1;
}
return 1;
}







ERROR 3

if(strcmp(cmd, "/skick", true) == 0)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "USE: /skick [Id Do Jogador]");
return 1;
}
giveplayerid = ReturnUser(tmp);
if (PlayerInfo[playerid][pAdmin] >= 1)
{
if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] != 1340 && PlayerInfo[playerid][pAdmin] != 1341 && PlayerInfo[playerid][pAdmin] != 1342 && PlayerInfo[playerid][pAdmin] != 3001)
{
SendClientMessage(playerid, COLOR_GRAD1, "Vocк nгo estб trabalhando! (/jogar)");
return 1;
}
if(IsPlayerConnected(giveplayerid))
{
if(giveplayerid != INVALID_PLAYER_ID)
{
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
{
new string2[128];
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string2, sizeof(string2), "%s [%d] Estб Tentando divulgar algo: %s", sendername, playerid);
ABroadCast(COLOR_YELLOW,string2,1);
SendClientMessage(playerid, COLOR_LIGHTRED, "Cuidado nгo digite nъmeros no chat");
return 1;
}
//getdate(year, month, day);
//format(string, sizeof(string), "AdmCmd: %s foi kickado por %s, Motivo: %s (%d-%d-%d)", giveplayer, sendername,month,day,year);
Kick(giveplayerid);
return 1;
}
}
}
else
{
format(string, sizeof(string), "%d Nгo estб online.", giveplayerid);
SendClientMessage(playerid, COLOR_GRAD1, string);
}
}
return 1;
}





ERROR 4


public SalvarInformacoes(playerid)
{
new arquivo[256];
format(arquivo, sizeof(arquivo), "/Informacoes/%s.ini",PlayerName(playerid));
if(!dini_Exists(arquivo))
{
format(arquivo, sizeof(arquivo), "/Informacoes/%s.ini",PlayerName(playerid));
dini_Create(arquivo);
}
format(arquivo, sizeof(arquivo), "/Informacoes/%s.ini",PlayerName(playerid));
dini_IntSet(arquivo,"Luta",PlayerInfo[playerid][pLuta]);
PlayerInfo[playerid][pLocal] = SpawnChange[playerid];
dini_IntSet(arquivo,"Local",PlayerInfo[playerid][pLocal]);
dini_IntSet(arquivo,"Carro",PlayerInfo[playerid][pCarro]);
dini_IntSet(arquivo,"CarroModelo",PlayerInfo[playerid][pCarroModel]);
dini_FloatSet(arquivo,"CarroPosX",PlayerInfo[playerid][pCarroposX]);
dini_FloatSet(arquivo,"CarroPosY",PlayerInfo[playerid][pCarroposY]);
dini_FloatSet(arquivo,"CarroPosZ",PlayerInfo[playerid][pCarroposZ]);
dini_FloatSet(arquivo,"CarroAngle",PlayerInfo[playerid][pCarroAngle]);
dini_IntSet(arquivo,"CarroPreco",PlayerInfo[playerid][pCarroPreco]);
dini_IntSet(arquivo,"TSlot0",PlayerInfo[playerid][PCarroTSlot0]);
dini_IntSet(arquivo,"TSlot1",PlayerInfo[playerid][PCarroTSlot1]);
dini_IntSet(arquivo,"TSlot2",PlayerInfo[playerid][PCarroTSlot2]);
dini_IntSet(arquivo,"TSlot3",PlayerInfo[playerid][PCarroTSlot3]);
dini_IntSet(arquivo,"TSlot4",PlayerInfo[playerid][PCarroTSlot4]);
dini_IntSet(arquivo,"TSlot5",PlayerInfo[playerid][PCarroTSlot5]);
dini_IntSet(arquivo,"TSlot6",PlayerInfo[playerid][PCarroTSlot6]);
dini_IntSet(arquivo,"TSlot7",PlayerInfo[playerid][PCarroTSlot7]);
dini_IntSet(arquivo,"TSlot8",PlayerInfo[playerid][PCarroTSlot8]);
dini_IntSet(arquivo,"TSlot9",PlayerInfo[playerid][PCarroTSlot9]);
dini_IntSet(arquivo,"TSlot10",PlayerInfo[playerid][PCarroTSlot10]);
dini_IntSet(arquivo,"TSlot11",PlayerInfo[playerid][PCarroTSlot11]);
dini_IntSet(arquivo,"TSlot12",PlayerInfo[playerid][PCarroTSlot12]);
dini_IntSet(arquivo,"TSlot13",PlayerInfo[playerid][PCarroTSlot13]);
dini_IntSet(arquivo,"TPintura",PlayerInfo[playerid][PCarroTPintura]);
dini_IntSet(arquivo,"TCor1",PlayerInfo[playerid][pCarroCor1]);
dini_IntSet(arquivo,"TCor2",PlayerInfo[playerid][pCarroCor2]);
dini_Set(arquivo,"Quadrilha",PlayerInfo[playerid][pQuadNome]);

return 1;
}



BolsaDeValoresPick = CreatePickup(1239,23,914.0972,-1004.0837,37.9903,0); //bolsa de valores

O erro nick e dessa pickup ate a ultiima linha mais , essa linha nao existe e depois da ultima linha !

ESTAI AS LINHAS '-'
Reply
#6

C:\Users\weverton\Downloads\Nova pasta\gamemodes\BLH.pwn(43560) : warning 217: loose indentation

Quer Dizer que Vocк esqueceu de usar TAB !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)