16.08.2010, 22:19
This is a code section which announces to everyone that a certain point is available to capture. Only it does this when it gets announced.

And this is part of the code that has the announcing part in it.
I want it to say "The Crack Lab has become available to capture" and so on.

And this is part of the code that has the announcing part in it.
Код:
public PointCheck()
{
new string[128];
for(new p = 0; p < sizeof(PointInfo); p++)
{
if(PointInfo[p][PointTime] == 0)
{
format(string, sizeof(string), "The %s has become available to capture.",PointInfo[p][PointName]);
SendClientMessageToAll(COLOR_YELLOW, string);
PointInfo[p][PointTaken] = 255;
AnnouncePoint();
}
}
return 1;
}

