[SOLVED] How to make some sort of radius?
#5

Quote:
Originally Posted by Rubennnnn
You didn't read the question XD

Pretty simple

in your /me command

pawn Код:
strcmp......
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
for(new p=0; p<GetMaxPlayers(); p++)
{
   //replace 10 with the radius you want
   If(IsPlayerConnected(p) && IsPlayerInRangeOfPoint(p, 10, X, Y, Z)) SendClientMessage(p, 0xAAAAAAAA, "your message here");
}

.....


Reply


Messages In This Thread
[SOLVED] How to make some sort of radius? - by mrbubl3s - 04.02.2010, 17:13
Re: How to make some sort of radius? - by Rubennnnn - 04.02.2010, 17:14
Re: How to make some sort of radius? - by Correlli - 04.02.2010, 17:14
Re: How to make some sort of radius? - by mrbubl3s - 04.02.2010, 17:15
Re: How to make some sort of radius? - by mansonh - 04.02.2010, 17:17
Re: How to make some sort of radius? - by mrbubl3s - 04.02.2010, 18:57
Re: How to make some sort of radius? - by MadeMan - 04.02.2010, 19:33
Re: How to make some sort of radius? - by mrbubl3s - 04.02.2010, 19:58
Re: [SOLVED] How to make some sort of radius? - by t33DeeJay - 04.02.2010, 22:36

Forum Jump:


Users browsing this thread: 1 Guest(s)