public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == bsnenter)
{
SetPlayerPos(playerid,365.4714,-73.2430,1001.5078);
SetPlayerInterior(playerid,10);
GameTextForPlayer(playerid, "Burger Shot North",3000,4);
}
if(pickupid == bsnexit)
{
SetPlayerPos(playerid,1199.4618,-920.8215,43.1059);
SetPlayerFacingAngle(playerid,185.7090);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
}
}
return 1;
}
sonst müsstest du mit case 1: oder case:2 arbeiten
/EDIT:
hab probleme, alle Cars im Server zu zerstören, außer die in denen jemand drinnen sitzt