Pls help, tag mismatch problem
#1

Quote:

public OnBombExplode(playerid, num, Float, Float:y, Float:z)
{
//is called everytime a bomb explodes
for(new i = 0; i < MAX_PLAYERS; i ++) {
if(GetPlayerDistanceToPoint(i, x, y, z) < 2 * gBombTypes[btype[playerid][num]][2]) {
SetPVarInt(i, "nearExp", playerid);
SetTimerEx("ResetNearExp", 15000, 0, "i", i);
}
}
return 1;
}

this is the eror message

Код:
Bombing.TMP(388):warning 214: tag mismatch
this is the line of 388
Код:
if(GetPlayerDistanceToPoint(i, x, y, z) < 2 * gBombTypes[btype[playerid][num]][2]) {
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)