SA-MP Forums Archive
Pls help, tag mismatch problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Pls help, tag mismatch problem (/showthread.php?tid=258541)



Pls help, tag mismatch problem - handerson - 31.05.2011

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]) {