[Ajuda] Erro ao compilar depois de adicionar o seguinte comando
#1

Код:
CMD:setarperto(playerid)
{
    new Pos[3];
    GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);//Linha do erro (aviso)
    for(new i; i < MAX_PLAYERS+1; i++)
    {
        if(IsPlayerInRangeOfPoint(i, 50.0, Pos[0], Pos[1], Pos[2]))
        {
            SpawnPlayer(i);
        }
    }
    return 1;
}
O erro й o seguinte

Код:
C:\Users\Positivo\Desktop\Esdras\Servidor SAMP\GMS\BHS\gamemodes\BHS.pwn(5824) : warning 213: tag mismatch
C:\Users\Positivo\Desktop\Esdras\Servidor SAMP\GMS\BHS\gamemodes\BHS.pwn(5824) : warning 213: tag mismatch
C:\Users\Positivo\Desktop\Esdras\Servidor SAMP\GMS\BHS\gamemodes\BHS.pwn(5824) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:          38796 bytes
Code size:          4374344 bytes
Data size:         10468304 bytes
Stack/heap size:      16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements:14897828 bytes

3 Warnings.
Reply
#2

PHP код:
CMD:setarperto(playerid)
{
    new 
Float:Pos[3]; // vocк esqueceu ou nгo sabe, colocar a tag/tipagem:var;
    
GetPlayerPos(playeridPos[0], Pos[1], Pos[2]);//Linha do erro (aviso)
    
for(new iMAX_PLAYERS+1i++)
    {
        if(
IsPlayerInRangeOfPoint(i50.0Pos[0], Pos[1], Pos[2]))
        {
            
SpawnPlayer(i);
        }
    }
    return 
1;

Reply
#3

Quote:
Originally Posted by SammyJ
Посмотреть сообщение
PHP код:
CMD:setarperto(playerid)
{
    new 
Float:Pos[3]; // vocк esqueceu ou nгo sabe, colocar a tag/tipagem:var;
    
GetPlayerPos(playeridPos[0], Pos[1], Pos[2]);//Linha do erro (aviso)
    
for(new iMAX_PLAYERS+1i++)
    {
        if(
IsPlayerInRangeOfPoint(i50.0Pos[0], Pos[1], Pos[2]))
        {
            
SpawnPlayer(i);
        }
    }
    return 
1;

Nossa, kkkk, Obrigado, to tentando fazer uma gm aki.... Vlw mesmo <3 hehe
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)