Pickup help
#2

Quote:
Originally Posted by MRM
Посмотреть сообщение
Hi guys.
how to using one location multiple exit pickup?
When come out of the pickup, a place to spawn.It is bug.
How to fix ?

I understand that you want the input-output pickup


Код:
new example;
new example2;
OnGameModeInit;

Код:
example = CreatePickup(pickupid, 2, x,y,z, -1);
example2 = CreatePickup(pickupid, 2, x,y,z, -1);
OnPlayerPickUpPickup

Код:
if(pickupid == example){
SetPlayerPos(playerid,x,y,z); // inside pos
SetPlayerInterior(playerid,interiorid); // For shops
}
if(pickupid == example2){
SetPlayerPos(playerid,x,y,z); // out pos
SetPlayerInterior(playerid,0);
}
Reply


Messages In This Thread
Pickup help - by MRM - 27.03.2016, 00:15
Re: Pickup help - by pLamenT - 27.03.2016, 00:30
Re: Pickup help - by MRM - 27.03.2016, 00:48
Re: Pickup help - by MRM - 27.03.2016, 14:42

Forum Jump:


Users browsing this thread: 2 Guest(s)