Question for IsPlayerInRangeOfPoint
#7

Quote:
Originally Posted by RyDeR`
Посмотреть сообщение
Of cours it will.
As I understood,he wants the function to affect only if a player is in a certain virtual world.

You can do this:

pawn Код:
for(new i; i < MAX_PLAYERS; i++)
{
    if(IsPlayerConnected(i))
    {
        if(GetPlayerVirtualWorld(i) == /*the virtual world you want*/)
        {
            if(IsPlayerInRangeOfPoint(i,range,x,y,z))
            {
                //What you want to happen?
            }
         }
      }
}
Reply


Messages In This Thread
Question for IsPlayerInRangeOfPoint - by TheNuttyScientist - 13.07.2010, 17:23
Re: Question for IsPlayerInRangeOfPoint - by [XST]O_x - 13.07.2010, 17:24
Re: Question for IsPlayerInRangeOfPoint - by TheNuttyScientist - 13.07.2010, 17:32
Re: Question for IsPlayerInRangeOfPoint - by [XST]O_x - 13.07.2010, 17:38
Re: Question for IsPlayerInRangeOfPoint - by legodude - 13.07.2010, 17:39
Re: Question for IsPlayerInRangeOfPoint - by RyDeR` - 13.07.2010, 17:40
Re: Question for IsPlayerInRangeOfPoint - by [XST]O_x - 13.07.2010, 17:47
Re: Question for IsPlayerInRangeOfPoint - by legodude - 13.07.2010, 17:47
Re: Question for IsPlayerInRangeOfPoint - by RyDeR` - 13.07.2010, 17:53
Re: Question for IsPlayerInRangeOfPoint - by [XST]O_x - 13.07.2010, 17:54

Forum Jump:


Users browsing this thread: 1 Guest(s)