HELP - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: HELP (
/showthread.php?tid=227822)
HELP -
Venice - 18.02.2011
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;
}
Re: HELP -
Sascha - 18.02.2011
it sends the message for each point which' PointTime is = 0...