SA-MP Forums Archive
Does this work same as prox detector? - 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: Does this work same as prox detector? (/showthread.php?tid=129924)



Does this work same as prox detector? - Torran - 24.02.2010

pawn Код:
for(new i=0; i<GetMaxPlayers(); i++)
{
if(IsPlayerInRangeOfPoint(i, 10.0, WILL REPLACE THIS BIT WITH COORDS))
{
SendClientMessage(i, COLOR_ORANGE, "If your seeing this message then this is working like prox detector");
}
Will it work? Or will it not work? Or will it work but spam my chat


Re: Does this work same as prox detector? - Torran - 25.02.2010

Anyone?


Re: Does this work same as prox detector? - Correlli - 25.02.2010

Yes, this will send a message to all players who are in the range of 10 meters of your coords.


Re: Does this work same as prox detector? - Torran - 25.02.2010

Quote:
Originally Posted by Don Correlli
Yes, this will send a message to all players who are in the range of 10 meters of your coords.
Ok thankyou