Beiträge von Max Berger

    C:\Users\Test\Desktop\GTA SAN ANDREAS SERVER\gamemodes\Ant2.5.pwn(7862) : error 076: syntax error in the expression, or invalid function call
    C:\Users\Test\Desktop\GTA SAN ANDREAS SERVER\gamemodes\Ant2.5.pwn(9506) : error 076: syntax error in the expression, or invalid function call
    C:\Users\Test\Desktop\GTA SAN ANDREAS SERVER\gamemodes\Ant2.5.pwn(9514) : error 076: syntax error in the expression, or invalid function call
    C:\Users\Test\Desktop\GTA SAN ANDREAS SERVER\gamemodes\Ant2.5.pwn(28667) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
    C:\Users\Test\Desktop\GTA SAN ANDREAS SERVER\gamemodes\Ant2.5.pwn(28728) : error 021: symbol already defined: "lspdtor3"
    C:\Users\Test\Desktop\GTA SAN ANDREAS SERVER\gamemodes\Ant2.5.pwn(28729) : error 076: syntax error in the expression, or invalid function call
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    5 Errors.



    hier die zeilen:


    lspdtor3 = CreateObject(988, 1560.2200927734, -1637.0727539063, 12.557918548584, 90, 0.000000, 179.36633300781);
    if (strcmp(cmdtext, "/ls3", true) == 0)
    {
    if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
    if(pdgatestatus == 0)
    {
    pdgatestatus = 1; //0 = Ausgangspositon 1 = Bewegt (Variable ganz oben deklariert)
    SendClientMessage(playerid, COLOR_LIGHTBLUE,"Der Aufzug fährt nun nach oben!");
    MoveObject(lspdtor3,1560.2200927734, -1637.0727539063, 12.557918548584, 3.5);
    lspdtortimer = SetTimer("lspdtor3", 9000, 0);
    }
    else
    {
    KillTimer(lspdtortimer);
    pdgatestatus = 0;
    SendClientMessage(playerid, COLOR_LIGHTBLUE,"Der Aufzug fährt wieder runter!");
    MoveObject (lspdtor3,1560.2736816406, -1637.0723876953, 27.200000762939, 2.5);
    return 1;
    }
    }
    return 1;
    }
    public lspdtor3()
    {
    MoveObject (lspdtor3,1560.2200927734, -1637.0727539063, 12.557918548584, 2.5);
    pdgatestatus = 0;
    return 1;
    }



    und:


    public OnPlayerPrivmsg(playerid, recieverid, text[])
    {
    return 0;
    }




    Danke schon mal im Vorraus...