28.04.2017, 22:03
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.
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; }