public OnPlayerPickUpPickup(playerid, pickupid)
{
{
if(pickupid==docsenter)
SetPlayerPos(playerid,2807.619873,-1171.899902,1025.570312);
SetPlayerInterior(playerid,8);
SetPlayerFacingAngle(playerid,89.6570);
SetCameraBehindPlayer(playerid);
GameTextForPlayer(playerid,"~w~Willkommen ~w~im ~-n~~w~Haus ~w~der ~w~Docs!",2000,3);
}
{
if(pickupid==docsexit)
SetPlayerPos(playerid,-1035.4265,-710.7896,32.0078);
SetPlayerFacingAngle(playerid,175.7841);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid,0);
}
{
if(pickupid==turmenter)
SetPlayerPos(playerid,-1006.3678,-703.1659,94.6011);
SetPlayerFacingAngle(playerid,305.1496);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid,0);
}
{
if(pickupid==turmexit)
SetPlayerPos(playerid,-1009.8528,-702.3657,32.0078);
SetPlayerFacingAngle(playerid,2.3257);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid,0);
}
{
if(pickupid==kugelenter)
SetPlayerPos(playerid,-1073.1556,-647.6309,56.9639);
SetPlayerFacingAngle(playerid,167.7212);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid,0);
}
{
if(pickupid==kugelexit)
SetPlayerPos(playerid,-1071.2601,-644.4714,32.0078);
SetPlayerFacingAngle(playerid,303.4684);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid,0);
}
{
if(pickupid==dachenter)
SetPlayerPos(playerid,-1063.5099,-638.4290,44.2146);
SetPlayerFacingAngle(playerid,10.8357);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid,0);
}
{
if(pickupid==dachexit)
SetPlayerPos(playerid,-1061.3772,-644.0103,32.0078);
SetPlayerFacingAngle(playerid,214.1177);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid,0);
}
{
if(pickupid==geheimenter)
SetPlayerPos(playerid,2543.462646,-1308.379882,1026.728393);
SetPlayerInterior(playerid,2);
SetCameraBehindPlayer(playerid);
SetPlayerFacingAngle(playerid,186.8808);
}
{
if(pickupid==geheimreenter)
SetPlayerPos(playerid,2527.2668,-1295.7168,1031.4219);
SetPlayerFacingAngle(playerid,169.9373);
SetPlayerInterior(playerid,2);
SetCameraBehindPlayer(playerid);
}
{
if(pickupid==geheimexit)
SetPlayerPos(playerid,-1051.0139,-686.0280,32.3516);
SetPlayerFacingAngle(playerid,344.7789);
SetPlayerInterior(playerid,0);
SetCameraBehindPlayer(playerid);
}
{
if(pickupid==geheimreexit)
SetPlayerPos(playerid,-1063.4377,-695.6309,56.3359);
SetPlayerFacingAngle(playerid,54.8819);
SetPlayerInterior(playerid,0);
SetCameraBehindPlayer(playerid);
}
return 1;
}