31.10.2012, 11:42
This is how I'd do it.
pawn Код:
CMD:radiustele(playerid, params[])
{
new Float:radius = 10.0, Float:pos[3];
GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
foreach(Players, p)
{
if(IsPlayerInRangeOfPoint(p, radius, pos[0], pos[1], pos[2]))
{
SetPlayerPos(p, 0, 0, 0); // Location
}
}
return 1;
}