30.10.2011, 07:57
Hi a few days ago I learned to do all their work OnPlayerPickuppickup but when I go to the door and left the pickup disappears here's what I did.
Код:
new info1;
new info2;
info1 = CreatePickup(1318, 23, 1488.5765,-1771.6222,18.7958, -1);
info2 = CreatePickup(1318, 23, 387.3406,175.1888,1008.3828, -1);
if(pickupid == info1)
{
SetPlayerPos(playerid, 388.6500,173.9088,1008.3828);
SetPlayerInterior(playerid, 3);
}
if(pickupid == info2)
{
SetPlayerPos(playerid, 1488.6108,-1767.5939,18.7958);
SetPlayerInterior(playerid, 0);
}
}
return 1;

