Question with entrances
#2

pawn Код:
public OnPlayerKeyStateChange(playerid, newkays, oldkeys)
{
   if(newkeys & KEY_SECONDARY_ATTACK) // if pressed ENTER
   {
      if(IsPlayerInRangeOfPoint(....)) // is player in range of IejimasX IejimasY IejimasZ....
      {
         SetPlayerPos(playerid, IsejimasX,IsejimasY,IsejimasZ);
      }
      else if(IsPlayerInRangeOfPoint(.....)) // is player in range of IsejimasXYZ
      {
         SetPlayerPos(playerid, IejimasX,IejimasY,IejimasZ);
      }
   }
   return 1;
}
Reply


Messages In This Thread
Question with entrances - by Burning - 09.08.2014, 12:28
Re: Question with entrances - by kamiliuxliuxliux - 09.08.2014, 12:39
Re: Question with entrances - by Burning - 09.08.2014, 12:41
Re: Question with entrances - by kamiliuxliuxliux - 09.08.2014, 12:43
Re: Question with entrances - by Burning - 09.08.2014, 12:44
Re: Question with entrances - by kamiliuxliuxliux - 09.08.2014, 12:52
Re: Question with entrances - by Burning - 09.08.2014, 14:55
Re: Question with entrances - by SKAzini - 09.08.2014, 15:44

Forum Jump:


Users browsing this thread: 2 Guest(s)