OnPlayerPickUpPickup
#1

Hello everyone!! so im going here to show you this code what's wrong here!!! i using multi-places for exit! so

My Problem is:- After i exit Sexshop im teleporter to another placing see.

Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
   if(pickupid  == BankEnter1)
   {
	  SetPlayerPos(playerid, 2311.4116,-15.3199,26.7422);
   }
   if(pickupid == BankExit1)
   {
	  SetPlayerPos(playerid, 2357.6628,2377.7422,10.8203);
	  SetPlayerInterior(playerid, 0);
   }
   if(pickupid == Ammu2[1])
   {
	  SetPlayerPos(playerid, 2156.5938,943.8235,10.8203);
	  SetPlayerInterior(playerid, 0);
   }
   if(pickupid == SexShop2[1])
   {
	  SetPlayerPos(playerid, 2089.6003,2073.9395,10.8203);
	  SetPlayerInterior(playerid, 0);
   }
   if(pickupid == Burger2[1])
   {
	  SetPlayerPos(playerid, 2363.6062,2071.2256,10.8203);
	  SetPlayerInterior(playerid, 0);
   }
   if(pickupid == Cluckin2[1])
   {
	  SetPlayerPos(playerid, 2393.3035,2045.1500,10.8203);
	  SetPlayerInterior(playerid, 0);
   }
   if(pickupid == SexShop2[2])
   {
	  SetPlayerPos(playerid, 2419.7517,2062.9844,10.8125);
	  SetPlayerInterior(playerid, 0);
   }
   if(pickupid == Bar2[1])
   {
	  SetPlayerPos(playerid, 2440.8730,2062.3020,10.8203);
	  SetPlayerInterior(playerid, 0);
   }
   if(pickupid == Burger2[2])
   {
	  SetPlayerPos(playerid, 2469.3982,2034.7217,11.0625);
	  SetPlayerInterior(playerid, 0);
   }
   return 1;
}
Reply


Messages In This Thread
OnPlayerPickUpPickup - by Man43 - 28.04.2017, 22:03
Re: OnPlayerPickUpPickup - by Kane - 28.04.2017, 22:59
Re: OnPlayerPickUpPickup - by AndreiWow - 29.04.2017, 01:40
Re: OnPlayerPickUpPickup - by Man43 - 29.04.2017, 09:16
Re: OnPlayerPickUpPickup - by Man43 - 29.04.2017, 11:12
Re: OnPlayerPickUpPickup - by iLearner - 29.04.2017, 11:17
Re: OnPlayerPickUpPickup - by Man43 - 29.04.2017, 11:31
Re: OnPlayerPickUpPickup - by coool - 29.04.2017, 11:37
Re: OnPlayerPickUpPickup - by Man43 - 29.04.2017, 11:46

Forum Jump:


Users browsing this thread: 2 Guest(s)