SA-MP Forums Archive
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=106826)



help - kennyist - 05.11.2009

can this be used to make a message apear ina gangzone?
Код:
public Rampe()
{
  for(new i=0; i<GetMaxPlayers(); i++)
  {
  	if(IsPlayerInRangeOfPoint(i, 10.0, 1553.157, -4554.372, 2861.08, -2779.334))
    {
      SendClientMessage(i, 0x050CFAFF, "non admins turn back or face death");
      return 1;
    }
  }
  return 1;
}
if so how can you get it working?


Re: help - Alice[WS] - 05.11.2009

Create a timer calling this fonction and all will be ok