SA-MP Forums Archive
[Ajuda]Auguns Warnings - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda]Auguns Warnings (/showthread.php?tid=195850)



[Ajuda]Auguns Warnings - >Ryder< - 03.12.2010

Warnings :

Код:
C:\GM.pwn(759) : warning: 202: number of arguments does not match definition
C:\GM.pwn(759) : warning: 213: tag mismatch
C:\GM.pwn(759) : warning: 213: tag mismatch
C:\GM.pwn(759) : warning: 213: tag mismatch
C:\GM.pwn(759) : warning: 213: tag mismatch
C:\GM.pwn(759) : warning: 213: tag mismatch
C:\GM.pwn(759) : warning: 213: tag mismatch
C:\GM.pwn(759) : warning: 213: tag mismatch
C:\GM.pwn(759) : warning: 213: tag mismatch
C:\GM.pwn(759) : warning: 213: tag mismatch
C:\GM.pwn(759) : warning: 213: tag mismatch
C:\GM.pwn(759) : warning: 213: tag mismatch
C:\GM.pwn(759) : warning: 213: tag mismatch
C:\GM.pwn(759) : warning: 213: tag mismatch
C:\GM.pwn(759) : warning: 213: tag mismatch
Augumas linhas dos Warnings :

pawn Код:
SetPlayerMapIcon(playerid , 0, 2472.3308, -1686.3032, 13.5078, 23);
//=======================================================================
ShowMenuForPlayer(1,playerid);
//=======================================================================
if(CurrentMenu == 1)
//=======================================================================
ShowMenuForPlayer(2, playerid);
Entre outros...
Todos os Warnings sгo :


pawn Код:
ShowMenuForPlayer(id_do_menu, playerid);
//=======================================================================
if(CurrentMenu == id_do_menu)



Re: [Ajuda]Auguns Warnings - jhony test - 03.12.2010

Tenta ae pra ver se da certo:

Quote:

SetPlayerMapIcon(playerid, 0, 2472.3308, -1686.3032, 13.5078, 23);
//================================================== =====================
ShowMenuForPlayer(playerid,1);
//================================================== =====================
if(CurrentMenu == 1)
//================================================== =====================
ShowMenuForPlayer(playerid,2);




Re: [Ajuda]Auguns Warnings - >Ryder< - 03.12.2010

Nгo adianta nada...


Re: [Ajuda]Auguns Warnings - jhony test - 03.12.2010

Quote:
Originally Posted by >Ryder<
Посмотреть сообщение
Nгo adianta nada...
Tensoooo !
Entгo nгo sei !


Re: [Ajuda]Auguns Warnings - [FeK]Kadek - 03.12.2010

Tenta:
pawn Код:
SetPlayerMapIcon(playerid, 0, 2472.3308, -1686.3032, 13.5078, 23);
//================================================== =====================
ShowMenuForPlayer(playerid,1);
//================================================== =====================
if(CurrentMenu == 1)
{
ShowMenuForPlayer(playerid,2);



Re: [Ajuda]Auguns Warnings - >Ryder< - 03.12.2010

As linhas eu postei separadas por "/============" elas nгo tem nem uma ligaзгo umas com as outras.


Re: [Ajuda]Auguns Warnings - rjjj - 03.12.2010

Vocк inverteu os parвmetros.


pawn Код:
SetPlayerMapIcon(playerid , 0, 2472.3308, -1686.3032, 13.5078, 23);
//=======================================================================
ShowMenuForPlayer(1,playerid);
//=======================================================================
if(CurrentMenu == 1)
//=======================================================================
ShowMenuForPlayer(2, playerid);//Aqui estava ShowMenuForPlayer(playerid, 2); mas o ID do menu vem primeiro

Espero ter ajudado


Re: [Ajuda]Auguns Warnings - >Ryder< - 03.12.2010

Eu desenverti os paramкtros mas continua 'Warning'.


Re: [Ajuda]Auguns Warnings - rjjj - 03.12.2010

Desculpe, normalmente os erros de tag mismatch sгo de parвmetros.


Aqui arrumado, testado e identado:


pawn Код:
SetPlayerMapIcon(playerid , 0, 2472.3308, -1686.3032, 13.5078, 23);
//=======================================================================
ShowMenuForPlayer(1,playerid);
//=======================================================================
if(CurrentMenu == 1)
{
    ShowMenuForPlayer(2, playerid);//Aqui estava ShowMenuForPlayer(playerid, 2); mas o ID do menu vem primeiro
}
//=======================================================================

Espero ter ajudado


Re: [Ajuda]Auguns Warnings - Erick_Schultz - 04.12.2010

Bom no Seu Caso
Vocк Criou No Topo Do Game Mode
No Topo
New Menu:FDP1



SetPlayerMapIcon(playerid , 0, 2472.3308, -1686.3032, 13.5078, 23, ); // BUGADO
// ARRUMADO
SetPlayerMapIcon(playerid, 1, 2472.3308, -1686.3032, 13.5078 , 23,0xE6E6E6E6);
//================================================== =====================
ShowMenuForPlayer(FDP1,playerid);
//================================================== =====================
if(CurrentMenu == 1)
//================================================== =====================
ShowMenuForPlayer(FDP2, playerid);


ok..
agora vamos ao proximo

ShowMenuForPlayer(OMENUQVCFEZ, playerid);
//================================================== =====================
if(CurrentMenu == OMENUQVCFEZ)