[AJUDA] Warnings ao compilar
#6

Quote:
Originally Posted by Los
Посмотреть сообщение
Troque para:

pawn Код:
forward RCarDetran(playerid);
public RCarDetran(playerid)
{
    if(PlayerInfo[playerid][pAdmin] == 1342)
    {
        RepairVehicle(testvehicles[0]);
        SendClientMessage(playerid, COLOR_LIGHTBLUE, "O carro do D.E.T.R.A.N foi reparado com sucesso.");
    }
    return 1;
}
Sobre o erro, fez oque eu falei e nгo deu warning apenas delete.
hm, blz entao


Eu tenho outros warnings aki
Acabei de criar um territуrio no meu gm, peguei um modelo em outro gm e criei meu prуprio territуrio. mas deu 3 Warnigs, e nao sei o que й. ja criei as variaveis, e nгo deu certo :S

pawn Код:
C:\Documents and Settings\Alex Sander\Meus documentos\Downloads\SERVIDOR\gamemodes\BLG2.pwn(7488) : warning 211: possibly unintended assignment
C:\Documents and Settings\Alex Sander\Meus documentos\Downloads\SERVIDOR\gamemodes\BLG2.pwn(7492) : warning 211: possibly unintended assignment
C:\Documents and Settings\Alex Sander\Meus documentos\Downloads\SERVIDOR\gamemodes\BLG2.pwn(51660) : warning 204: symbol is assigned a value that is never used: "donomata"
Linha 7488 e 7492 Sгo as if(donomata = 0) e if(donomata = 1)
pawn Код:
if(donomata = 0)
   {
      GangZoneShowForPlayer(playerid, GZMata, COR_TAL);
   }
   if(donomata = 1)
   {
      GangZoneShowForPlayer(playerid, GZMata, COR_AL);
   }
Linha 51660
pawn Код:
donomata = 0;

Serб que falta um return 1; ali ?
Reply


Messages In This Thread
[AJUDA] Warnings ao compilar - by kratty - 21.12.2011, 08:35
Re: [AJUDA] Warnings ao compilar - by JuniorPT - 21.12.2011, 09:01
Re: [AJUDA] Warnings ao compilar - by Lуs - 21.12.2011, 12:30
Re: [AJUDA] Warnings ao compilar - by kratty - 21.12.2011, 13:17
Re: [AJUDA] Warnings ao compilar - by Lуs - 21.12.2011, 16:22
Re: [AJUDA] Warnings ao compilar - by kratty - 21.12.2011, 20:04
Re: [AJUDA] Warnings ao compilar - by Lуs - 21.12.2011, 20:06
Re: [AJUDA] Warnings ao compilar - by Victor Cesaroni - 21.12.2011, 20:06
Re: [AJUDA] Warnings ao compilar - by Victor Cesaroni - 21.12.2011, 20:09
Re: [AJUDA] Warnings ao compilar - by Lуs - 21.12.2011, 20:10

Forum Jump:


Users browsing this thread: 1 Guest(s)