01.04.2010, 16:30
I went to san fierro and the cp is in the desert ^.^
and if i do this:
its destroy, BUT it spamms, because as test i made sendclientmessage.
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");
}
}
}
}
}
}