30.07.2018, 22:45
alguem sabe me dizer o que esta de errado nesse comando esta dando esses avisos
codigos
linha 29811
linha 79455
PHP код:
C:\Users\igorm\Desktop\Brasil\gamemodes\BPS.pwn(29811) : warning 213: tag mismatch
C:\Users\igorm\Desktop\Brasil\gamemodes\BPS.pwn(79455) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Header size: 37280 bytes
Code size: 4225280 bytes
Data size: 14450148 bytes
Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements:18729092 bytes
2 Warnings.
linha 29811
PHP код:
if(EmGuerraMorro[playerid] && GuerraMorro[gGuerra] >= 1) // nessa linha
{
format(string, sizeof(string), "* %s saiu da Guerra do Morro!",PlayerName(playerid));
SendFamilyMessage(1,GetPlayerColor(playerid), string);
SendFamilyMessage(2,GetPlayerColor(playerid), string);
SendFamilyMessage(5,GetPlayerColor(playerid), string);
SendFamilyMessage(6,GetPlayerColor(playerid), string);
SendFamilyMessage(14,GetPlayerColor(playerid), string);
SendFamilyMessage(17,GetPlayerColor(playerid), string);
SendFamilyMessage(18,GetPlayerColor(playerid), string);
SendFamilyMessage(19,GetPlayerColor(playerid), string);
SendFamilyMessage(21,GetPlayerColor(playerid), string);
SendFamilyMessage(26,GetPlayerColor(playerid), string);
SendFamilyMessage(33,GetPlayerColor(playerid), string);
SendFamilyMessage(34,GetPlayerColor(playerid), string);
EmGuerraMorro[playerid] = 0;
}
PHP код:
if(GuerraMorro[gGuerra] >= 1) // nessa linha
{
new org = GetPlayerOrg(playerid);
if(org == 1 || org == 2 || org == 5 || org == 6 || org == 14 || org == 17 ||
org == 18 || org == 19 || org == 21 || org == 26 || org == 33 || org == 34)
{
if(gPlayerInGuerra(playerid) && EmGuerraMorro[playerid] == 0)
{
format(string, sizeof(string), "* %s entrou na Guerra do Morro!",PlayerName(playerid));
SendFamilyMessage(1,GetPlayerColor(playerid), string);
SendFamilyMessage(2,GetPlayerColor(playerid), string);
SendFamilyMessage(5,GetPlayerColor(playerid), string);
SendFamilyMessage(6,GetPlayerColor(playerid), string);
SendFamilyMessage(14,GetPlayerColor(playerid), string);
SendFamilyMessage(17,GetPlayerColor(playerid), string);
SendFamilyMessage(18,GetPlayerColor(playerid), string);
SendFamilyMessage(19,GetPlayerColor(playerid), string);
SendFamilyMessage(21,GetPlayerColor(playerid), string);
SendFamilyMessage(26,GetPlayerColor(playerid), string);
SendFamilyMessage(33,GetPlayerColor(playerid), string);
SendFamilyMessage(34,GetPlayerColor(playerid), string);
EmGuerraMorro[playerid] = 1;
}
}