Player Position is not working for me?
#3

Yo, use this code:

pawn Код:
CMD:agate(playerid, params[])
{
  if(IsPlayerInRangeOfPoint(playerid, 2.5, 1953.0791,-2433.4441,13.5469))
  {
            if(PlayerInfo[playerid][pTeam] == 1)
            {
            SendClientMessage(playerid, -1, "Test");
             }
            else
            {
            SendClientMessage(playerid, COLOR_ORANGE, "* You are not in: Team America!");
            return 1;
            }
   }
  else
  {
  SendClientMessage(playerid, COLOR_ORANGE, "* You are not in range of your garage!");
  return 1;
  }
return 1;
}

Hope I helped!
Reply


Messages In This Thread
Player Position is not working for me? - by arjanforgames - 13.07.2013, 09:27
Re: Player Position is not working for me? - by ToiletDuck - 13.07.2013, 09:29
Re: Player Position is not working for me? - by JimmyCh - 13.07.2013, 09:32
Re: Player Position is not working for me? - by EV007 - 13.07.2013, 09:35
Re: Player Position is not working for me? - by arjanforgames - 13.07.2013, 09:46

Forum Jump:


Users browsing this thread: 1 Guest(s)