ENTER Taste klappt bei Fraktionen nicht.

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Hallo
    Bei mir klappt die ENTER Taste nicht ich weiß nicht woran das Liegen kann kann mir jemand Helfen??



    if(newkeys & KEY_SECONDARY_ATTACK)
    {
    if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
    if(IsPlayerInRangeOfPoint(playerid,3.0,2146.7241,-1808.6066,16.1406))
    {
    SetPlayerPos(playerid,2807.619873,-1171.899902,1025.570312);
    SetPlayerInterior(playerid,8);
    SetPlayerVirtualWorld(playerid,3);
    }
    }
    else if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
    if(IsPlayerInRangeOfPoint(playerid,3.0,2807.619873,-1171.899902,1025.570312))
    {
    SetPlayerPos(playerid,2148.3230,-1807.4741,16.1429);
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,0);
    }
    }
    else if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)
    {
    if(IsPlayerInRangeOfPoint(playerid,3.0,2522.5352,-2018.8101,14.0744))
    {
    SetPlayerPos(playerid,2807.619873,-1171.899902,1025.570312);
    SetPlayerInterior(playerid,8);
    SetPlayerVirtualWorld(playerid,6);
    }
    }
    else if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
    if(IsPlayerInRangeOfPoint(playerid,3.0,2807.619873,-1171.899902,1025.570312))
    {
    SetPlayerPos(playerid,2522.5352,-2018.8101,14.0744);
    SetPlayerFacingAngle(playerid, 48.6361);
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,0);
    }
    }
    else if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
    if(IsPlayerInRangeOfPoint(playerid,3.0,2495.3865,-1690.6353,14.7656))
    {
    SetPlayerPos(playerid,2807.619873,-1171.899902,1025.570312);
    SetPlayerInterior(playerid,8);
    SetPlayerVirtualWorld(playerid,5);
    }
    }
    else if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
    if(IsPlayerInRangeOfPoint(playerid,3.0,2807.619873,-1171.899902,1025.570312))
    {
    SetPlayerPos(playerid,2495.3865,-1690.6353,14.7656);
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,0);
    }
    }
    else if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
    if(IsPlayerInRangeOfPoint(playerid,3.0,2852.1570,-1532.4482,11.0938))
    {
    SetPlayerPos(playerid,2807.619873,-1171.899902,1025.570312);
    SetPlayerInterior(playerid,8);
    SetPlayerVirtualWorld(playerid,7);
    }
    }
    else if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
    if(IsPlayerInRangeOfPoint(playerid,3.0,2807.619873,-1171.899902,1025.570312))
    {
    SetPlayerPos(playerid,2852.1570,-1532.4482,11.0938);
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,0);
    }
    }
    else if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
    if(IsPlayerInRangeOfPoint(playerid,3.0,2770.7278,-1627.9824,12.1775))
    {
    SetPlayerPos(playerid,2807.619873,-1171.899902,1025.570312);
    SetPlayerInterior(playerid,8);
    SetPlayerVirtualWorld(playerid,8);
    }
    }
    else if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
    if(IsPlayerInRangeOfPoint(playerid,3.0,2807.619873,-1171.899902,1025.570312))
    {
    SetPlayerPos(playerid,2770.7278,-1627.9824,12.1775,45.1628);
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,0);
    }
    }
    else if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
    if(IsPlayerInRangeOfPoint(playerid,3.0,1956.7906,691.5240,10.8203))
    {
    SetPlayerPos(playerid,2807.619873,-1171.899902,1025.570312);
    SetPlayerInterior(playerid,8);
    SetPlayerVirtualWorld(playerid,10);
    }
    }
    else if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
    if(IsPlayerInRangeOfPoint(playerid,3.0,2807.619873,-1171.899902,1025.570312))
    {
    SetPlayerPos(playerid,1956.7906,691.5240,10.8203);
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,0);
    }
    }
    }

    mfg