18.08.2017, 13:36
Hello, I want to know how to check is player near a player for some commands like give, pay and similar.
Also how can I make that only the players that are near a player can see his messages, I've been trying to find that everywhere but I can't.
I tried this:
but it doesn't work.
If anybody has a filterscript or something, I would be very thankful.
Thank you for any kind of help.
Also how can I make that only the players that are near a player can see his messages, I've been trying to find that everywhere but I can't.
I tried this:
Код:
new id; GetPlayerPos(id, x, y, z); if(IsPlayerInRangeOfPoint(playerid, id, 3.0)) { //EXAMPLE }
If anybody has a filterscript or something, I would be very thankful.
Thank you for any kind of help.