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; }
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.
CMD:setarperto(playerid)
{
new Float:Pos[3]; // vocк esqueceu ou nгo sabe, colocar a tag/tipagem:var;
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;
}
PHP код:
|