Beiträge von hannes

    Wenn ich deins nehme kommen wieder Errors


    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum2.pwn(1632) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum2.pwn(1636) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum2.pwn(1648) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum2.pwn(1652) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum2.pwn(1656) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum2.pwn(1660) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum2.pwn(1664) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum2.pwn(1668) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum2.pwn(1672) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum2.pwn(1684) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum2.pwn(1688) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum2.pwn(1692) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum2.pwn(1696) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum2.pwn(1700) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum2.pwn(1712) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum2.pwn(1716) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum2.pwn(1720) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum2.pwn(1732) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum2.pwn(1736) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum2.pwn(1993) : error 004: function "SendIRCMessage" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum2.pwn(2015) : error 004: function "SendIRCMessage" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum2.pwn(2326) : error 004: function "OOCOff" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum2.pwn(2338) : error 004: function "OOCOff" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum2.pwn(2358) : error 004: function "OOCOff" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum2.pwn(2366) : error 004: function "OOCOff" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum2.pwn(2377) : error 004: function "OnPlayerUpdate" is not implemented


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    26 Errors.
    I need help! Weis keiner was den Fehler verursacht?


    public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
    {
    if(newkeys == (KEY_SUBMISSION))
    {
    //LVPD EINFAHRTSTOR
    if(IsPlayerInRangeOfPoint(playerid,3.5, 2350.0652,2423.2896,10.7618))
    {
    if(PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1)
    {
    MoveObject(LVPDtor1, 2339.08,2451.31,6.17, 2.0);
    SetTimer("LVPDtor1zu", 3500, 0);
    MoveObject(LVPDtor2, 2330.20,2436.41,6.17, 2.0);
    SetTimer("LVPDtor2zu", 3500, 0);
    }
    }
    else if(IsPlayerInRangeOfPoint(playerid,3.5, 2316.7664,2446.2881,3.0210))
    {
    if(PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1)
    {
    MoveObject(LVPDtor1, 2339.08,2451.31,6.17, 2.0);
    SetTimer("LVPDtor1zu", 3500, 0);
    MoveObject(LVPDtor2, 2330.20,2436.41,6.17, 2.0);
    SetTimer("LVPDtor2zu", 3500, 0);
    }
    }
    //LVPD HINTERTOR
    else if(IsPlayerInRangeOfPoint(playerid,3.5, 2306.0933,2491.6829,3.0179))
    {
    if(PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1||PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 2)
    {
    MoveObject(LVPDhintertor, 2293.850586,2505.787109,3.941181,2.0);
    SetTimer("LVPDhintertorzu", 4500, 0);
    }
    }
    else if(IsPlayerInRangeOfPoint(playerid,3.5, 2248.4939,2494.7490,10.4546))
    {
    if(PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1||PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 2)
    {
    MoveObject(LVPDhintertor, 2293.850586,2505.787109,3.941181,2.0);
    SetTimer("LVPDhintertorzu", 4500, 0);
    }
    }
    //LVPDschranke
    else if(IsPlayerInRangeOfPoint(playerid,10.0,2238.197510,2450.375977,10.622423))
    {
    MoveObjektRot(LVPDschranke,0.8594,356.5623,270.0000,15);
    SetTimer("LVPDschrankezu", 1500, 0);
    GivePlayerMoney(playerid, -20);
    GameTextForPlayer(playerid, "Willkommen im LVPD, der Parkplatz kostet 40$",5000,1);
    }
    }
    }
    if(newkeys == (KEY_WALK))


    ERROR:
    error 010: invalid function or declaration [bei if(newkeys == (KEY_WALK))]

    Dann kommt
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum.pwn(1632) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum.pwn(1636) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum.pwn(1648) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum.pwn(1652) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum.pwn(1656) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum.pwn(1660) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum.pwn(1664) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum.pwn(1668) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum.pwn(1672) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum.pwn(1684) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum.pwn(1688) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum.pwn(1692) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum.pwn(1696) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum.pwn(1700) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum.pwn(1712) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum.pwn(1716) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum.pwn(1720) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum.pwn(1732) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum.pwn(1736) : error 004: function "PlayerToPoint" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum.pwn(1993) : error 004: function "SendIRCMessage" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum.pwn(2015) : error 004: function "SendIRCMessage" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum.pwn(2326) : error 004: function "OOCOff" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum.pwn(2338) : error 004: function "OOCOff" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum.pwn(2358) : error 004: function "OOCOff" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum.pwn(2366) : error 004: function "OOCOff" is not implemented
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum.pwn(2377) : error 004: function "OnPlayerUpdate" is not implemented


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    26 Errors.


    Sonst noch jemand ne Idee?

    Ich bekomm den Error:
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum.pwn(6891) : error 010: invalid function or declaration
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum.pwn(6894) : error 010: invalid function or declaration
    D:\Spiele\Grand Theft Auto San Andreas\pawno\LVPDinnenraum.pwn(6896) : error 010: invalid function or declaration



    public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
    {
    if(newkeys == (KEY_SUBMISSION))
    {
    //LVPD EINFAHRTSTOR
    if(IsPlayerInRangeOfPoint(playerid,3.5, 2350.0652,2423.2896,10.7618))
    {
    if(PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1)
    {
    MoveObject(LVPDtor1, 2339.08,2451.31,6.17, 2.0);
    SetTimer("LVPDtor1zu", 3500, 0);
    MoveObject(LVPDtor2, 2330.20,2436.41,6.17, 2.0);
    SetTimer("LVPDtor2zu", 3500, 0);
    }
    }
    else if(IsPlayerInRangeOfPoint(playerid,3.5, 2316.7664,2446.2881,3.0210))
    {
    if(PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1)
    {
    MoveObject(LVPDtor1, 2339.08,2451.31,6.17, 2.0);
    SetTimer("LVPDtor1zu", 3500, 0);
    MoveObject(LVPDtor2, 2330.20,2436.41,6.17, 2.0);
    SetTimer("LVPDtor2zu", 3500, 0);
    }
    }
    //LVPD HINTERTOR
    else if(IsPlayerInRangeOfPoint(playerid,3.5, 2306.0933,2491.6829,3.0179))
    {
    if(PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1||PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 2)
    {
    MoveObject(LVPDhintertor, 2293.850586,2505.787109,3.941181,2.0);
    SetTimer("LVPDhintertorzu", 4500, 0);
    }
    }
    else if(IsPlayerInRangeOfPoint(playerid,3.5, 2248.4939,2494.7490,10.4546))
    {
    if(PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1||PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 2)
    {
    MoveObject(LVPDhintertor, 2293.850586,2505.787109,3.941181,2.0);
    SetTimer("LVPDhintertorzu", 4500, 0);
    }
    }
    //LVPDschranke
    else if(IsPlayerInRangeOfPoint(playerid,10.0,2238.197510,2450.375977,10.622423))
    {
    MoveObjektRot(LVPDschranke,0.8594,356.5623,270.0000,15);
    SetTimer("LVPDschrankezu", 1500, 0);
    GivePlayerMoney(playerid, -20);
    GameTextForPlayer(playerid, "Willkommen im LVPD, der Parkplatz kostet 20$",5000,5);
    }
    }
    }


    if(newkeys == (KEY_WALK)) //Hier kommen die ERRORS
    {
    //FBItüroben rechts
    if(IsPlayerInRangeOfPoint(playerid,2, 298.18594360352,189.36297607422,1006.171875))
    {
    if(PlayerInfo[playerid][pMember] == 2||PlayerInfo[playerid][pLeader] == 2)
    {
    MoveObject(LVPDfbitur1links 294.32751464844, 189.30493164063, 1006.171875, 2.0);
    SetTimer("LVPDfbitur1linkszu", 3500, 0);
    MoveObject(LVPDfbitur1rechts, 298.96795654297, 189.37852478027, 1006.171875, 2.0);
    SetTimer("LVPDfbitur1rechtszu", 3500, 0);
    }
    }




    Klammerfehler? aber welchen?
    Wenn ich alles ab if(newkeys == (KEY_WALK)) nicht mehr mitcompile...
    klappt alles

    Ich möchte das tor einmal aus der Tiefgarage aus öffnen können und einmal am Beginn der Einfahrt.
    Im Notfall würde es auch gehn den range vom tor so weit auszudehnen das manns öffnen kann.
    Aber erstere wäre perfekt.



    public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
    {
    if(newkeys == (KEY_SUBMISSION))
    {
    if(IsPlayerInRangeOfPoint(playerid,7.0, 2320.7852,2446.7014,3.1305))
    {
    if(PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1)
    {
    MoveObject(LVPDtor1, 2339.08,2451.31,6.17, 2.0);
    SetTimer("LVPDtor1zu", 3500, 0);
    MoveObject(LVPDtor2, 2330.20,2436.41,6.17, 2.0);
    SetTimer("LVPDtor2zu", 3500, 0);
    }
    }
    }
    }



    Bis jetz hab ich halt nur eine Position, wie füge kann man jetz die zweite hinzufügen?

    Es klappt

    public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
    {
    if(newkeys == (KEY_SUBMISSION))
    {
    if(IsPlayerInRangeOfPoint(playerid,7.0, 2320.7852,2446.7014,3.1305))
    {
    if(PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1)
    {
    MoveObject(LVPDtor1, 2339.08,2451.31,6.17, 2.0);
    SetTimer("LVPDtor1zu", 3500, 0);
    MoveObject(LVPDtor2, 2330.20,2436.41,6.17, 2.0);
    SetTimer("LVPDtor2zu", 3500, 0);
    }
    }
    }
    }


    Die Mischung machts^^
    zeile 3 hatteste ne kleine klammer vergessen xD
    Danke :)

    Hi, ich habe folgendes Problem, mein Tor lässt sich von überall öffnen, obwohl ich den Range auf 1.0 habe. (1 geht auch nicht)



    public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
    {
    if(newkeys == (KEY_SUBMISSION))
    {
    if(IsPlayerInRangeOfPoint( playerid, 1.0, 2347.5610, 2423.1506, 10.8203)&&PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1)
    {
    MoveObject(LVPDtor1, 2339.08,2451.31,6.17, 2.0);
    SetTimer("LVPDtor1zu", 3500, 0);
    MoveObject(LVPDtor2, 2330.20,2436.41,6.17, 2.0);
    SetTimer("LVPDtor2zu", 3500, 0);
    }
    }
    }


    Was muss ich verändern damit man es nur aus der nähe öffnen kann?