Hallo Ich HAbe EIn Problem Und ZWar Komme ich In Den BSN rein aber nicht raus Wie mache ich es Sollte Eigentlich So gehen
new bsnenter;
new bsnexit;
bsnenter = CreatePickup(1559,1,1199.1129,-918.1664,43.1240);
bsnexit = CreatePickup(1559,1,363.0053,-75.0270,1001.5078);
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid==bsnenter)
{
SetPlayerPos(playerid, 365.6523,-73.5287,1001.5078);
SetPlayerInterior(playerid,10);
SetPlayerVirtualWorld(playerid,1);
GameTextForPlayer(playerid,"~b~Du Hast den~n~BSN Betreten",1000*3,4);
}
if(pickupid==bsnexit)
{
SetPlayerPos(playerid, 1199.1534,-920.5859,43.0289);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
GameTextForPlayer(playerid,"~g~Du Hast den~n~BSN Verlassen",1000*3,4);
}
return 1;
}
Was habe ich Falsch?