ich habe pickups für die stadthalle etc. gemacht damit die leute darein laufen und teleportiert werden hier mal alles:
ganz oben:
new lspdenter;
//new lspdexit;
new senter;
new sexit;
new bsnenter;
new bsnexit;
new lsbenter;
new lsbexit;
new cbenter;
new cbexit;
OnGameModeInit:
//===============================Interior Pickzups==========================================================
//LSPD
lspdenter = AddStaticPickup(1318,2,1552.9130,-1675.6755,16.1953);//Damit man rein kommt
//lspdexit = AddStaticPickup(1318,2
//Stadthalle
senter = AddStaticPickup(1318,2,1483.7227,-1769.0315,18.795);//Stadthallen enter
sexit = AddStaticPickup(1318,2,387.7978,173.8582,1008.382);//Stadthalle raus
//BSN
bsnenter = AddStaticPickup(1318,2,1199.6382,-919.8124,43.1081);//BSN Enter
bsnexit = AddStaticPickup(1318,2,375.962463,-65.816848,1001.507812);//BSN Exit
//Los Santos Bank
lsbenter = AddStaticPickup(1318,2,1457.9773,-1013.2228,26.843);//Enter
lsbexit = AddStaticPickup(1318,2,1415.9554,-989.2406,1639.7843);//Exit
//Clucking Bell
cbenter = AddStaticPickup(1318,2,927.6765,-1352.7345,13.343);//Enter
cbexit = AddStaticPickup(1318,2,369.579528,-4.487294,1001.858886);//Exit
OnPlayerPickupPickup:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == lspdenter)
{
SetPlayerInterior(playerid,3);
SetPlayerPos(playerid,288.745971,169.350997,1007.171875);
}
if(pickupid == senter)
{
SetPlayerInterior(playerid,3);
SetPlayerPos(playerid,387.7978,173.8582,1008.382 );
}
if(pickupid == sexit)
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1483.7227,-1769.0315,18.795 );
}
if(pickupid == bsnenter)
{
SetPlayerInterior(playerid,10);
SetPlayerPos(playerid,375.962463,-65.816848,1001.507812);
}
if(pickupid == bsnexit)
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1199.6382,-919.8124,43.1081);
}
if(pickupid == lsbenter)
{
SetPlayerInterior(playerid,9);
GameTextForPlayer(playerid, "~r~Willkommen in der LS Bank", 5000,1);
SetPlayerPos(playerid,1415.9554,-989.2406,1639.7843);
}
if(pickupid == lsbexit)
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1457.9773,-1013.2228,26.843 );
}
if(pickupid == cbenter)
{
SetPlayerInterior(playerid,9);
SetPlayerPos(playerid,369.579528,-4.487294,1001.858886);
}
if(pickupid == cbexit)
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,927.6765,-1352.7345,13.343 );
}
return 1;
}
Und mein problem ist jetzt das kein pickup einen spieler teleportiert.