#1

what wrong here this is spamming
pawn Код:
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;
}
Reply
#2

it sends the message for each point which' PointTime is = 0...
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)