Beiträge von Stage6

    Hier:
    #include


    #define DIALOG_TUTORIAL 1
    #define DIALOG_REGISTER 2
    #define DIALOG_LOGIN 3


    main()
    {
    print("\n----------------------------------");
    print(" MTA");
    print("----------------------------------\n");
    }


    AddPlayerClass(28,2047.4270,1336.5569,10.6719,188.9284, 353, 1000, 359, 100, 362, 99999);
    return 1;


    AddStaticVehicle(401,1227.1797,-914.0590,42.6812,99.6721,52,52);
    AddStaticVehicle(409,1226.2432,-905.7473,42.6697,10.2423,1,1);
    }


    public OnGameModeExit()
    {
    return 1;
    }


    public OnPlayerRequestClass(playerid, classid)
    {
    SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
    return 1;
    }


    public OnPlayerRequestSpawn(playerid)
    {
    return 1;
    }


    public OnPlayerConnect(playerid)
    {
    ShowPlayerDialog(playerid,DIALOG_REGISTER,DIALOG_STYLE_INPUT,"Regestrieren","Gib bitte das Gwünschte Passwort ein!","Register","Abbrechen");
    return 1;
    }


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


    public OnPlayerSpawn(playerid)
    {
    ShowPlayerDialog(playerid,DIALOG_TUTORIAL,DIALOG_STYLE_MSGBOX,"gta4you","www.gta4you.de.","OK","MTA");
    return 1;
    }


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


    public OnVehicleSpawn(vehicleid)
    {
    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(cmdtext,"/bsn",true)==0)
    {
    SetPlayerPos(playerid,1227.1797,-914.0590,42.6812);
    SendClientMessage(playerid,0xFFFF00FFFF,"Du wurdest Teleportiert");
    return 1;
    }
    return 0;
    }


    public OnPlayerInfoChange(playerid)
    {
    return 1;
    }


    public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
    {
    return 1;
    }


    public OnPlayerExitVehicle(playerid, vehicleid)
    {
    return 1;
    }


    public OnPlayerStateChange(playerid, newstate, oldstate)
    {
    return 1;
    }


    public OnPlayerEnterCheckpoint(playerid)
    {
    return 1;
    }


    public OnPlayerLeaveCheckpoint(playerid)
    {
    return 1;
    }


    public OnPlayerEnterRaceCheckpoint(playerid)
    {
    return 1;
    }


    public OnPlayerLeaveRaceCheckpoint(playerid)
    {
    return 1;
    }


    public OnRconCommand(cmd[])
    {
    return 1;
    }


    public OnObjectMoved(objectid)
    {
    return 1;
    }


    public OnPlayerObjectMoved(playerid, objectid)
    {
    return 1;
    }


    public OnPlayerPickUpPickup(playerid, pickupid)
    {
    return 1;
    }


    public OnPlayerSelectedMenuRow(playerid, row)
    {
    return 1;
    }


    public OnPlayerExitedMenu(playerid)
    {
    return 1;
    }
    </a_samp>

    Was laberst du?
    Ich sagte ja, dass ein return 1; nichts bringt, und fragte ihn danach, was er als letztes gescriptet hat...

    Vielleicht den Code, deinem Script richtig anpassen?

    Ein return 1; hat nichts mit einem Klammerfehler zu tun!


    Was hast du den als letztes gescriptet?


    MFG

    Ich habe einen SpeedFight2.
    von der Optik her kann man sehr viel dran machen.

    Ja, ich kenne den Aerox von meinen Kumepls, fast jeder hat ein Aerox, und sie sind damit sehr zufrieden!
    Ich werde mir nächsten Monat auch ein Aerox zulegen :)


    Viele Grüße