bomb not work
#2

Use this
pawn Код:
CMD:bomb(playerid,params[])
{
    if(c4[playerid] != 0)
    {
          for(new A; A < 11;A++)
          {
            if(c4x[A][playerid] != 9999 && c4y[A][playerid] != 9999 && c4z[A][playerid] != 9999)
            {
              CreateExplosion(c4x[A][playerid],c4y[A][playerid],c4z[A][playerid],7,30.0);
              DestroyDynamicObject(c4c[A][playerid]);
              c4x[A][playerid] = 9999;
              c4y[A][playerid] = 9999;
              c4z[A][playerid] = 9999;
            }
          }
          c4[playerid] = 0;
          }
    //} <----------an extra closing bracket that was causing error....
    return 1;
}
Reply


Messages In This Thread
bomb not work - by ThunderX - 06.11.2014, 06:35
Re: bomb not work - by BroZeus - 06.11.2014, 06:36
Re: bomb not work - by ThunderX - 06.11.2014, 06:41

Forum Jump:


Users browsing this thread: 1 Guest(s)