27.03.2016, 00:30
Quote:
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;
Код:
example = CreatePickup(pickupid, 2, x,y,z, -1); example2 = CreatePickup(pickupid, 2, x,y,z, -1);
Код:
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); }