Hey Leute,
der Ein & Ausgang miener FBI Base funkt ned !
Der Lift genauso !
Hier de Codes:
public OnGameModeInIt()
{
fbiexit=CreatePickup(1318,1,246.2483,107.3013,1003.2188);
Create3DTextLabel("FBI\nAusgang",Rot,246.2483,107.3013,1003.2188,25,0);
CreatePickup(1239,0,236.3233,110.7165,1003.2257);//FBI Duty "i"
Create3DTextLabel("FBI\nDuty Punkt",Rot,236.3233,110.7165,1003.2257,25,0);
fbiliftspawnzugarage=CreatePickup(1239,1,215.2373,125.1160,1003.2188);
Create3DTextLabel("FBI Lift\nin die Garage",Rot,215.2373,125.1160,1003.2188,25,0);
fbiliftgaragezuspawn=CreatePickup(1239,1,2457.0198,2545.9299,10.8203);
Create3DTextLabel("FBI Lift\nzu dem Spawn",Rot,2457.0198,2545.9299,10.8203,25,0);
return 1;
}
und
public OnPlayerPickUpPickup
{
if(pickupid==fbiexit)
{
SetPlayerPos(playerid,2385.9055,2466.1228,10.8203);
SetCameraBehindPlayer(playerid);
SetPlayerFacingAngle(playerid,88.4737);
SetPlayerInterior(playerid,0);
}
if(isPlayerInFrakt(playerid,5))
{
if(pickupid==fbiliftspawnzugarage)
{
SetPlayerPos(playerid,2459.1917,2545.5364,10.8203);
SetCameraBehindPlayer(playerid);
SetPlayerFacingAngle(playerid,264.0828);
SetPlayerInterior(playerid,0);
}
}
if(isPlayerInFrakt(playerid,5))
{
if(pickupid==fbiliftgaragezuspawn)
{
SetPlayerPos(playerid,215.4774,122.2402,1003.2188);
SetPlayerFacingAngle(playerid,185.2533);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid,10);
}
}
return 1;
}
Aber wenn ich reinlaufe, werde ich ned teleportiert !
bitte helppt mir !
MfG
Deagle
P.S.: Es kann kein ID 0 Bug sein !