Isplayerinrangeofpoint
#5

Quote:
Originally Posted by LegendNissanGTR
Посмотреть сообщение
How can i make it?
pawn Код:
public OnPlayerStateChange(playerid, oldstate, newstate)
{
   if(IsPlayerInRangeOfPoint(playerid, distance, x, y, z)) // distance from x,y,z
   {
         MoveObject(objectid, x, y, z); // x, y, z  where the gate will be moved to
         GivePlayerMoney(playerid, -115);
   }
   return 1;
}
Reply


Messages In This Thread
Isplayerinrangeofpoint - by LegendNissanGTR - 13.12.2010, 11:37
Re: Isplayerinrangeofpoint - by CrucixTM - 13.12.2010, 11:51
Re: Isplayerinrangeofpoint - by LegendNissanGTR - 13.12.2010, 12:09
Re: Isplayerinrangeofpoint - by LegendNissanGTR - 13.12.2010, 12:10
Re: Isplayerinrangeofpoint - by blackwave - 13.12.2010, 12:43
Re: Isplayerinrangeofpoint - by Scenario - 13.12.2010, 12:51
Re: Isplayerinrangeofpoint - by LegendNissanGTR - 13.12.2010, 13:04
Re: Isplayerinrangeofpoint - by LegendNissanGTR - 13.12.2010, 13:11
Re: Isplayerinrangeofpoint - by Sergei - 13.12.2010, 13:20
Re: Isplayerinrangeofpoint - by LegendNissanGTR - 13.12.2010, 13:32

Forum Jump:


Users browsing this thread: 1 Guest(s)