[Ajuda]Auguns Warnings
#1

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)
Reply
#2

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);

Reply
#3

Nгo adianta nada...
Reply
#4

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

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

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

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
Reply
#8

Eu desenverti os paramкtros mas continua 'Warning'.
Reply
#9

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
Reply
#10

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)
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)