SA-MP Forums Archive
Get Players in radius? - 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)
+--- Thread: Get Players in radius? (/showthread.php?tid=416237)



Get Players in radius? - Saw® - 16.02.2013

Hi , for example I have /bomb command , it will blow myself and without a doute kill everyone near me , the problem is how to get nearest players in radius of me ? and other thing ,once I done the command , will the server know that it is me who killed them ? because whene I die too don't think that will work , thank you.


Re: Get Players in radius? - Lordzy - 16.02.2013

'IsPlayerInRangeOfPoint' - This function might help you.


Re: Get Players in radius? - Saw® - 16.02.2013

Quote:
Originally Posted by Lordz™
Посмотреть сообщение
'IsPlayerInRangeOfPoint' - This function might help you.
Yea thanks ! I was looking for this first problem resolved ,but what about the second question ?
Код:
once I done the command , will the server know that it is me who killed them ? because whene I die too .