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
#2

i am not sure but try this

replace
PointInfo[p][PointName]
with
PointInfo[i][PointName]

i dont know if it works
Reply
#3

or your points file in your scriptfiles folder are empty...
Reply
#4

I don't have a points file in this. If I made one, how would I link it to the script? And what would I put in it?
Reply
#5

can you give me the link that you download this server? I will try to fix it
Reply
#6

Couldn't you just tell me what to do? I can't give this script out.
Reply
#7

i don't know if i don't see the script...
Reply
#8

Could you teamview with me?
Reply
#9

ok man trust me i want only help
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)