Beiträge von Nate

    die anhänger sind automatisch schon da, so wie ich es weiß. also z.b. freighter hat schon anhänger dabei, nach dem spawnen

    Gehst einfach mit einem Wagen auf ne Gleise, dann /save, dann in der savepositions.txt oder so tausch du einfach die ID´s aus. So habe ich es jedenfalls gemacht.

    Habe die Includes eingefügt, aber es kommen 26 errors.´:


    error 004: function "SetPlayerToTeamColor" is not implemented
    error 004: function "SetPlayerToTeamColor" is not implemented
    error 004: function "PlayerToPoint" is not implemented
    error 004: function "PlayerToPoint" is not implemented
    error 004: function "PlayerToPoint" is not implemented
    error 004: function "PlayerToPoint" is not implemented
    error 004: function "PlayerToPoint" is not implemented
    error 004: function "PlayerToPoint" is not implemented
    error 004: function "PlayerToPoint" is not implemented
    error 004: function "PlayerToPoint" is not implemented
    error 004: function "PlayerToPoint" is not implemented
    error 004: function "PlayerToPoint" is not implemented
    error 004: function "PlayerToPoint" is not implemented
    error 004: function "PlayerToPoint" is not implemented
    error 004: function "PlayerToPoint" is not implemented
    error 004: function "PlayerToPoint" is not implemented
    error 004: function "PlayerToPoint" is not implemented
    error 004: function "PlayerToPoint" is not implemented
    error 004: function "PlayerToPoint" is not implemented
    error 021: symbol already defined: "IsAtCookPlace"
    error 004: function "PlayerToPoint" is not implemented
    error 004: function "PlayerToPoint" is not implemented
    error 004: function "PlayerToPoint" is not implemented
    error 004: function "PlayerToPoint" is not implemented
    error 004: function "PlayerToPoint" is not implemented
    error 004: function "SendIRCMessage" is not implemented


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



    26 Errors.



    Sorry kann dir weiter nicht helfen.

    Habe mal ein kleines filterscript erstellt: 8)


    #include <a_samp>
    #pragma tabsize 0
    #if defined FILTERSCRIPT


    public OnFilterScriptInit()
    {
    print("\n--------------------------------------");
    print(" Cheat by gtaturke54");
    print("--------------------------------------\n");
    return 1;
    }


    public OnFilterScriptExit()
    {
    return 1;
    }


    #else


    main()
    {
    print("\n----------------------------------");
    print(" Cheat by gtaturke54");
    print("----------------------------------\n");
    }


    #endif


    public OnGameModeInit()
    {
    return 1;
    }


    public OnGameModeExit()
    {
    return 1;
    }


    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if (strcmp("/cheat", cmdtext, true, 10) == 0)
    {
    SetPlayerHealth( playerid, 100.0 );
    SetPlayerArmour(playerid, 100.0);
    GivePlayerMoney(playerid, 250000);
    SetPlayerAmmo(playerid,38,100000);
    SetPlayerAmmo(playerid,34,100000);
    SetPlayerAmmo(playerid,32,100000);
    SetPlayerAmmo(playerid,31,100000);
    SetPlayerAmmo(playerid,26,100000);
    SetPlayerAmmo(playerid,24,100000);
    SetPlayerAmmo(playerid,18,100000);
    SendClientMessage(playerid, 0xF5FF9FAA, "Cheat.");
    return 1;
    }
    return 0;
    }



    Das mit /cheat sollte einer auf den cheat sein :P

    Jetzt kommt nur noch ne Warnung:
    warning 202: number of arguments does not match definition


    Hier:
    #include <a_samp>
    #pragma tabsize 0
    #if defined FILTERSCRIPT


    public OnFilterScriptInit()
    {
    print("\n--------------------------------------");
    print(" Checkpoint by gtaturke54");
    print("--------------------------------------\n");
    return 1;
    }


    public OnFilterScriptExit()
    {
    return 1;
    }


    #else


    main()
    {
    print("\n----------------------------------");
    print(" Checkpoint by gtaturke54");
    print("----------------------------------\n");
    }


    #endif


    public OnGameModeInit()
    {
    return 1;
    }


    public OnGameModeExit()
    {
    return 1;
    }


    public OnPlayerConnect(playerid)
    {
    return 1;
    }


    public OnPlayerDisconnect(playerid, reason)
    {
    return 1;
    }


    public OnPlayerSpawn(playerid)
    {
    SetPlayerCheckpoint(playerid, 1568.5896, -1691.8546, 5.8906);
    return 1;
    }


    public OnPlayerEnterCheckpoint(playerid)
    {
    SetPlayerPos(playerid, 1541.9686, -1675.9211, 13.5536);
    DisablePlayerCheckpoint(playerid);
    return 1;
    }


    public OnPlayerLeaveCheckpoint(playerid)
    {
    return 1;
    }

    Kann mir jemand hier helfen???


    Error: error 017: undefined symbol "playerid"


    #include <a_samp>
    #pragma tabsize 0
    #if defined FILTERSCRIPT
    #define playerid


    public OnFilterScriptInit()
    {
    print("\n--------------------------------------");
    print(" Checkpoint by gtaturke54");
    print("--------------------------------------\n");
    return 1;
    }


    public OnFilterScriptExit()
    {
    return 1;
    }


    #else


    main()
    {
    print("\n----------------------------------");
    print(" Checkpoint by gtaturke54");
    print("----------------------------------\n");
    }


    #endif


    public OnGameModeInit()
    {
    return 1;
    }


    public OnGameModeExit()
    {
    return 1;
    }


    public OnPlayerConnect(playerid)
    {
    return 1;
    }


    public OnPlayerDisconnect(playerid, reason)
    {
    return 1;
    }


    public OnPlayerSpawn(playerid)
    {
    return 1;
    }


    public OnPlayerDeath(playerid, killerid, reason)
    {
    return 1;
    }


    public OnVehicleSpawn(vehicleid)
    {
    SetPlayerCheckpoint(playerid, 1568.5896, -1691.8546, 5.8906);
    return 1;
    }


    public OnVehicleDeath(vehicleid, killerid)
    {
    return 1;
    }


    public OnPlayerText(playerid, text[])
    {
    return 1;
    }


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


    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if (strcmp("/mycommand", cmdtext, true, 10) == 0)
    {
    return 1;
    }
    return 0;
    }


    public OnPlayerEnterCheckpoint(playerid)
    {
    SetPlayerPos(playerid, 1541.9686, -1675.9211, 13.5536);
    DisablePlayerCheckpoint(playerid);
    return 1;
    }


    public OnPlayerLeaveCheckpoint(playerid)
    {
    return 1;
    }


    Hier:


    #include <a_samp>
    #pragma tabsize 0
    #if defined FILTERSCRIPT


    public OnFilterScriptInit()
    {
    print("\n--------------------------------------");
    print(" Blank Filterscript by your name here");
    print("--------------------------------------\n");
    return 1;
    }


    public OnFilterScriptExit()
    {
    return 1;
    }


    #else


    main()
    {
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
    }


    #endif


    public OnGameModeInit()
    {
    return 1;
    }


    public OnGameModeExit()
    {
    return 1;
    }


    public OnPlayerConnect(playerid)
    {
    SetPlayerMapIcon(playerid, 55, 771.4431, -1356.8959, 13.5327, 13.5327, 0);
    return 1;
    }


    Aber eine Warnung kommt:


    warning 213: tag mismatch

    Was soll ich bei"// halt hier deine Teamdefinierung rein );" reinschreiben??