IsPlayerInRangeOfPoint Teleport Help
#6

pawn Код:
public Check()
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            if(IsPlayerInRangeOfPoint(i, 2.0, 2305.9927, -16.2388, 26.7496))
            {
                SetPlayerInterior(i, 0);
                SetPlayerPos(i, 2271.6396,2289.1282,10.8203);
            }
        }
    }
}
change playerid to i
Reply


Messages In This Thread
IsPlayerInRangeOfPoint Teleport Help - by <Weponz> - 19.11.2010, 13:41
Re: IsPlayerInRangeOfPoint Teleport Help - by The_Moddler - 19.11.2010, 13:44
Re: IsPlayerInRangeOfPoint Teleport Help - by <Weponz> - 19.11.2010, 13:46
Re: IsPlayerInRangeOfPoint Teleport Help - by The_Moddler - 19.11.2010, 13:53
Re: IsPlayerInRangeOfPoint Teleport Help - by <Weponz> - 19.11.2010, 14:53
Re: IsPlayerInRangeOfPoint Teleport Help - by MadeMan - 19.11.2010, 14:59
Re: IsPlayerInRangeOfPoint Teleport Help - by The_Moddler - 19.11.2010, 15:01
Re: IsPlayerInRangeOfPoint Teleport Help - by randomkid88 - 19.11.2010, 15:12
Re: IsPlayerInRangeOfPoint Teleport Help - by The_Moddler - 19.11.2010, 15:46
Re: IsPlayerInRangeOfPoint Teleport Help - by randomkid88 - 20.11.2010, 04:03

Forum Jump:


Users browsing this thread: 2 Guest(s)