Tag mismatch
#1

I made this command for re-spawning my group vehicles and i get 2 warnings on this 2 lines

The enum

Код:
enum Bcars 
{
	Car1,
	Car2,
	Car3,
	Car4,
	Car5,
	Car6,
	Car7 
}
new Bcar[Bcars];
Command
Код:
CMD:breset2(playerid, params[])
{
	if(PlayerInfo[playerid][pBikers] >= 2)
 	{
        for(new i; i < MAX_VEHICLES; i++)
        {
            if(!VehicleOccupied(Bcar[i]))
			{
   				SetVehicleToRespawn(Bcar[i]);
			}
		}
        	SendClientMessage(playerid, COLOR_GREEN, "Unoccupied vehicles of The Bikers have been respawned.");
        }
        else
        {
        	SendClientMessage(playerid, COLOR_RED, "Are you sure you typed the correct command?");
        }
		return 1;
}
and i get warning 213: tag mismatch on this lines

Код:
 if(!VehicleOccupied(Bcar[i]))
Код:
SetVehicleToRespawn(Bcar[i]);
if any one can help me fix this warnings it would be greate thanks.
Reply


Messages In This Thread
Tag mismatch - by rambalili2 - 22.10.2015, 15:15
Re: Tag mismatch - by Vince - 22.10.2015, 16:38
Re: Tag mismatch - by ATGOggy - 22.10.2015, 16:56
Re: Tag mismatch - by rambalili2 - 22.10.2015, 17:01
Re: Tag mismatch - by ATGOggy - 22.10.2015, 17:03
Re: Tag mismatch - by rambalili2 - 22.10.2015, 17:13
Re: Tag mismatch - by Vince - 22.10.2015, 17:22
Re: Tag mismatch - by ATGOggy - 22.10.2015, 17:56

Forum Jump:


Users browsing this thread: 2 Guest(s)