Point system doesn't announce what is avaliable to capture?
#1

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.

Код:
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;
}
I want it to say "The Crack Lab has become available to capture" and so on.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)