Beiträge von Scriptborn

    Hallo,
    Ich kriege immer diesen MySQL Error:
    [13:54:45] [ERROR] CMySQLConnection::Connect - (error #1045) Access denied for user 'samp'@'localhost' (using password: YES)[13:54:45]
    [ERROR] CMySQLConnection::Connect - (error #1045) Access denied for user 'samp'@'localhost' (using password: YES)



    Ich benutze das MySQL System von MrMonatHD.
    Wenn ich das:
    #define db_host "localhost"
    #define db_user "samp"
    #define db_pass "zensiert"
    #define db_db "samp_logta"



    zu:
    #define db_host "localhost"
    #define db_user "root"
    #define db_pass ""
    #define db_db "samp_logta"



    mache.
    krieg ich den selben error oder es kommt keine connection.


    Bitte um hilfe.

    Hallo ,
    Ich habe eine Frage, wieso muss man denn bei der Mapping Base eine Begrenzung von 3 Wochen registrierung haben?
    Ich habe gerade eine Map fertiggestellt und kann sie nicht präsentieren.
    Es passiert doch nix wenn man ein Mapp Showroom erstellt?


    MfG

    ocmd:specoff(playerid,params[])
    {
    if(!IsPlayerAnAdmin(playerid,1))return SendClientMessage(playerid,GRAU,"Für diesen Befehl benötigst du das folgende Adminlevel: {00FF00}Supporter {969696}[{00FF00}1{969696}] oder höher.");
    {
    if(TutSpecen[playerid] == 1)
    {
    TogglePlayerSpectating(playerid,false);
    PlayerSpectatePlayer(playerid,false);
    SetPlayerInterior(playerid,false);
    SetPlayerVirtualWorld(playerid,false);
    SetSpawnInfo(playerid,0,0,-50.1974,-288.3651,5.4297,178.9876,0,0,0,0,0,0);
    SpawnPlayer(playerid);
    TogglePlayerControllable(playerid,1);
    SetCameraBehindPlayer(playerid);
    SendClientMessage(playerid,WEIß,"Du schaltest nun die Beobachtungsfunktion aus.");
    return 1;
    }
    }
    return 1;
    }


    in


    ocmd:specoff(playerid,params[])
    {
    if(!IsPlayerAnAdmin(playerid,1))return SendClientMessage(playerid,GRAU,"Für diesen Befehl benötigst du das folgende Adminlevel: {00FF00}Supporter {969696}[{00FF00}1{969696}] oder höher.");
    {
    if(TutSpecen[playerid] == 1)
    {
    TogglePlayerSpectating(playerid,false);
    PlayerSpectatePlayer(playerid,false);
    SetPlayerInterior(playerid,false);
    SetPlayerVirtualWorld(playerid,false);
    SetSpawnInfo(playerid,0,0,-50.1974,-288.3651,5.4297,178.9876,0,0,0,0,0,0);
    SpawnPlayer(playerid);
    TogglePlayerControllable(playerid,1);
    SetCameraBehindPlayer(playerid);
    SendClientMessage(playerid,WEIß,"Du schaltest nun die Beobachtungsfunktion aus.");
    return 1;
    }
    else
    {
    SendClientMessage(playerid,ROT,"Du speccst niemanden!");
    }

    }
    return 1;
    }


    Versuchs mal.


    Oder auch so:


    ocmd:specoff(playerid,params[])
    {
    if(!IsPlayerAnAdmin(playerid,1))return SendClientMessage(playerid,GRAU,"Für diesen Befehl benötigst du das folgende Adminlevel: {00FF00}Supporter {969696}[{00FF00}1{969696}] oder höher.");
    {
    if(TutSpecen[playerid] == 1)
    {
    TogglePlayerSpectating(playerid,false);
    PlayerSpectatePlayer(playerid,false);
    SetPlayerInterior(playerid,false);
    SetPlayerVirtualWorld(playerid,false);
    SetSpawnInfo(playerid,0,0,-50.1974,-288.3651,5.4297,178.9876,0,0,0,0,0,0);
    SpawnPlayer(playerid);
    TogglePlayerControllable(playerid,1);
    SetCameraBehindPlayer(playerid);
    SendClientMessage(playerid,WEIß,"Du schaltest nun die Beobachtungsfunktion aus.");
    return 1;
    }
    if(TutSpecen[playerid] == 0)
    {
    SendClientMessage(playerid,ROT,"Du speccst niemanden!");
    }

    }
    return 1;
    }

    Hallo,
    Ich habe eine Frage an euch.
    Wieso will mein Server nicht starten?
    Ich habe mein PC heute formatiert.


    Screens:
    http://prntscr.com/2dm9yo
    http://prntscr.com/2dmb0j



    server.readme:




    SA-MP 0.3 Server Setup
    ----------------------


    Once the configuration is complete, run samp-server.exe to
    launch the server process.


    CONFIGURATION:


    Example server.cfg:
    echo Executing Server Config...
    lanmode 0
    maxplayers 32
    port 7777
    hostname Unnamed Server
    announce 0
    gamemode0 lvdm 1
    gamemode1 rivershell 1
    weburl www.sa-mp.com
    rcon_password changeme


    To configure the server, you must edit the values in server.cfg. They are explained below:


    hostname
    --------
    Parameters:
    string

    Description:
    Specifies the hostname shown in the server browser

    port
    ----
    Parameters:
    int

    Description:
    Specifies the port to listen on.
    This port is used for game connections, rcon connections, and for querying.

    maxplayers
    ----------
    Parameters:
    int

    Description:
    Specifies the maximum amount of players.

    lanmode
    -------
    Parameters:
    int (0 or 1)

    Description:
    Turns lanmode on (1) or off (0). Lanmode (as the name suggests) is for use on LAN games, where bandwidth is not a problem. Lanmode sends data at a higher rate, for a smoother game.


    announce
    -------
    Parameters:
    int (0 or 1)

    Description:
    Announces your server to the 'Internet' server list in the SA:MP browser. On (1) or Off (0).


    weburl
    ------
    Parameters:
    string

    Description:
    Specifies the URL shown in the server browser, which is associated to the server.

    rcon_password
    -------------
    Parameters:
    string

    Description:
    Specifies the password needed to connect to rcon, or login to rcon ingame.

    gamemode0 - gamemode15
    ----------------------
    Parameters:
    string
    int

    Description:
    Specifies the rotation settings. The first parameter sets the game mode name. The second is the number of times it will repeat.
    You can use gamemode0 to specify the first gamemode, gamemode1 to specify the second, etc.


    Code:
    Login1[playerid] = CreatePlayerTextDraw(playerid, 242.400009, 138.879974, "Login");
    PlayerTextDrawLetterSize(playerid, Login1[playerid], 0.449999, 1.600000);
    PlayerTextDrawAlignment(playerid, Login1[playerid], 1);
    PlayerTextDrawColor(playerid, Login1[playerid], -1061109505);
    PlayerTextDrawSetShadow(playerid, Login1[playerid], 0);
    PlayerTextDrawSetOutline(playerid, Login1[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, Login1[playerid], 51);
    PlayerTextDrawFont(playerid, Login1[playerid], 2);
    PlayerTextDrawSetProportional(playerid, Login1[playerid], 1);
    PlayerTextDrawSetSelectable(playerid, Login1[playerid], true);


    Login3[playerid] = CreatePlayerTextDraw(playerid, 244.000045, 178.453292, "Register");
    PlayerTextDrawLetterSize(playerid, Login3[playerid], 0.449999, 1.600000);
    PlayerTextDrawAlignment(playerid, Login3[playerid], 1);
    PlayerTextDrawColor(playerid, Login3[playerid], -1061109505);
    PlayerTextDrawSetShadow(playerid, Login3[playerid], 0);
    PlayerTextDrawSetOutline(playerid, Login3[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, Login3[playerid], 51);
    PlayerTextDrawFont(playerid, Login3[playerid], 2);
    PlayerTextDrawSetProportional(playerid, Login3[playerid], 1);
    PlayerTextDrawSetSelectable(playerid, Login3[playerid], true);



    Login5[playerid] = CreatePlayerTextDraw(playerid, 245.600082, 214.293319, "Credits");
    PlayerTextDrawLetterSize(playerid, Login5[playerid], 0.449999, 1.600000);
    PlayerTextDrawAlignment(playerid, Login5[playerid], 1);
    PlayerTextDrawColor(playerid, Login5[playerid], -1061109505);
    PlayerTextDrawSetShadow(playerid, Login5[playerid], 0);
    PlayerTextDrawSetOutline(playerid, Login5[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, Login5[playerid], 51);
    PlayerTextDrawFont(playerid, Login5[playerid], 2);
    PlayerTextDrawSetProportional(playerid, Login5[playerid], 1);
    PlayerTextDrawSetSelectable(playerid, Login5[playerid], true);


    Login7[playerid] = CreatePlayerTextDraw(playerid, 245.600036, 247.893310, "Information");
    PlayerTextDrawLetterSize(playerid, Login7[playerid], 0.449999, 1.600000);
    PlayerTextDrawAlignment(playerid, Login7[playerid], 1);
    PlayerTextDrawColor(playerid, Login7[playerid], -1061109505);
    PlayerTextDrawSetShadow(playerid, Login7[playerid], 0);
    PlayerTextDrawSetOutline(playerid, Login7[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, Login7[playerid], 51);
    PlayerTextDrawFont(playerid, Login7[playerid], 2);
    PlayerTextDrawSetProportional(playerid, Login7[playerid], 1);
    PlayerTextDrawSetSelectable(playerid, Login7[playerid], true);

    Halli Hallo,
    Ich habe ein Login/Register als Textdraw eingebaut.
    Nur dass Problem ist wenn ich ingame bin, Und beim Text klicke passiert nix.
    Dann muss ich ein bisschen höher klicken dann passiert was.
    Wie kann ich es machen dass es DIREKT am Text was passiert?