31.05.2012, 10:42
Yes.
pawn Код:
}
public ProxRadio(Float:radi, playerid, string[], color)
{
new Float:posx, Float:posy, Float:posz;
GetPlayerPos(playerid, posx, posy, posz);
foreach (Player, i)
{
if(GetPlayerVirtualWorld(i) == GetPlayerVirtualWorld(playerid))
{
if(IsPlayerInRangeOfPoint(i,radi,posx, posy, posz))
{
if(i != playerid)
{
SendClientMessage(i, color, string);
}
}
}
}
}