Pickup help
#1

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 ?
Reply
#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
#3

No I mean the two outputs from one location.
Example:
Код:
CreateDynamicPickup(1559,1,435,567,678,-1,-1,-1,100);
CreateDynamicPickup(1559,1,435,567,678,-1,-1,-1,100);
Reply
#4

Any idea?
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)