Error Bombing Scirpting
#1

Error :warning 213: tag mismatch
COde:
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;
}

Any One Can Help me?
Reply
#2

pawn Код:
public OnBombExplode(playerid, num, Float:x, 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;
}
Reply
#3

Quote:
Originally Posted by WagnerPM
Посмотреть сообщение
pawn Код:
public OnBombExplode(playerid, num, Float:x, 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;
}
Not Fix it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)