Checkpoint won't destroy
#5

I went to san fierro and the cp is in the desert ^.^
and if i do this:

pawn Код:
foreach(Player, i)
    {
      if(CPCreated[i] == 1)
      {
            for(new zone = 0; zone < sizeof(CPLocations); zone++)
            {
                if(InPrototypeVehicle[i] == 0)
                {
                    if(!IsPlayerInRangeOfPoint(i,50.0,CPLocations[zone][0],CPLocations[zone][1],CPLocations[zone][2]))
                    {
                        if(InCP[i] != -1)
                        {
                        DisablePlayerCheckpoint(i);
                        InCP[i] = -1;
                        CPCreated[i] = 0;
                        SendClientMessage(i,_COLOR_RED,"spammtest");
                        }
                    }
                }
            }
        }
    }
its destroy, BUT it spamms, because as test i made sendclientmessage.
Reply


Messages In This Thread
Checkpoint won't destroy - by Headshot1108 - 01.04.2010, 16:20
Re: Checkpoint won't destroy - by MadeMan - 01.04.2010, 16:25
Re: Checkpoint won't destroy - by Headshot1108 - 01.04.2010, 16:26
Re: Checkpoint won't destroy - by MadeMan - 01.04.2010, 16:27
Re: Checkpoint won't destroy - by Headshot1108 - 01.04.2010, 16:30

Forum Jump:


Users browsing this thread: 1 Guest(s)