Massive teleporting
#3

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;
}
Reply


Messages In This Thread
Massive teleporting - by jap_D-Jap - 31.10.2012, 10:28
Re: Massive teleporting - by RajatPawar - 31.10.2012, 11:29
Re: Massive teleporting - by PrawkC - 31.10.2012, 11:42

Forum Jump:


Users browsing this thread: 1 Guest(s)