Beiträge von lukas1177

    dcmd_gz(playerid,params[])
    {
    if (AccInfo[playerid][Level] <= 1)
    return SendClientMessage (playerid, COLOR_GREY, "* You are not an Administrator to perform this command.");

    new Float:x,Float:y,Float:z, Float:zz;
    if(sscanf(params, "f",zz)) return SendClientMessage(playerid, COLOR_GREY, "* Usage: /gz [Meters in Z Direction") && SendClientMessage(playerid, COLOR_GREY,"* Function: Moves you in the specified Z - Direction.");
    GetPlayerPos(playerid, x, y, z);
    SetPlayerPos(playerid, x, y, z+zz);


    if (Float:zz >= 0)
    {
    new tdstring[7];
    TextDrawShowForPlayer(playerid, Textdraw2);
    Textdraw2 = TextDrawCreate(117.000000, 338.000000, tdstring);
    format(tdstring, sizeof(tdstring), "Z %.2f ", zz);
    TextDrawBackgroundColor(Textdraw2, 255);
    TextDrawFont(Textdraw2, 2);
    TextDrawLetterSize(Textdraw2, 0.290000, 1.200000);
    TextDrawColor(Textdraw2, -1);
    TextDrawSetOutline(Textdraw2, 0);
    TextDrawSetProportional(Textdraw2, 1);
    TextDrawSetShadow(Textdraw2, 1);
    TextDrawSetString(Textdraw2, tdstring);
    TextDrawShowForPlayer(playerid, Textdraw2);
    SetTimer("DisableTextDraw2", 1500, false, "i", playerid);
    }


    if (Float:zz <= 0)
    {
    new tdstring[7];
    TextDrawShowForPlayer(playerid, Textdraw2);
    Textdraw2 = TextDrawCreate(117.000000, 338.000000, tdstring);
    format(tdstring, sizeof(tdstring), "Z %.2f ", zz);
    TextDrawBackgroundColor(Textdraw2, 255);
    TextDrawFont(Textdraw2, 2);
    TextDrawLetterSize(Textdraw2, 0.290000, 1.200000);
    TextDrawColor(Textdraw2, -1);
    TextDrawSetOutline(Textdraw2, 0);
    TextDrawSetProportional(Textdraw2, 1);
    TextDrawSetShadow(Textdraw2, 1);
    TextDrawSetString(Textdraw2, tdstring);
    TextDrawShowForPlayer(playerid, Textdraw2);
    SetTimer("DisableTextDraw2", 1500, false, "i", playerid);
    }
    return 1;
    }


    forward DisableTextDraw2(playerid);


    public DisableTextDraw2(playerid)
    {
    new tdstring[7];
    TextDrawDestroy(Textdraw2);
    TextDrawHideForPlayer(playerid, Textdraw2);
    Textdraw2 = TextDrawCreate(117.000000, 338.000000, tdstring);
    return 1;


    Mach Mal Mit SetTimer nun ^^

    Hallo


    Wann Man 1 Auf Der Server Get der Server Down ?


    Hier Dier Server Logs
    [12:26:27] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (4046) Limit: 3000
    [12:26:28] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (3818) Limit: 3000
    [12:26:30] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (3875) Limit: 3000
    [12:26:30] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (3172) Limit: 3000
    [12:26:30] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (4464) Limit: 3000
    [12:26:32] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (3761) Limit: 3000
    [12:26:33] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (3381) Limit: 3000
    [12:26:33] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (3761) Limit: 3000
    [12:26:34] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (3400) Limit: 3000
    [12:26:37] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (3362) Limit: 3000
    [12:26:37] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (3039) Limit: 3000
    [12:26:42] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (3191) Limit: 3000
    [12:27:09] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (3248) Limit: 3000
    [12:27:16] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (3248) Limit: 3000
    [12:27:17] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (6611) Limit: 3000
    [12:27:17] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (3172) Limit: 3000
    [12:27:18] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (5014) Limit: 3000
    [12:27:18] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (5014) Limit: 3000
    [12:27:18] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (9461) Limit: 3000
    [12:27:18] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (5014) Limit: 3000
    [12:27:18] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (6781) Limit: 3000
    [12:27:19] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (4787) Limit: 3000
    [12:27:21] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (4312) Limit: 3000
    [12:27:21] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (7143) Limit: 3000
    [12:27:24] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (3248) Limit: 3000
    [12:27:24] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (3020) Limit: 3000
    [12:27:24] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (3742) Limit: 3000
    [12:27:24] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (3172) Limit: 3000
    [12:27:25] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (3096) Limit: 3000
    [12:27:25] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (3267) Limit: 3000
    [12:27:26] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (3001) Limit: 3000
    [12:27:26] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (3324) Limit: 3000
    [12:27:29] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (3001) Limit: 3000
    [12:27:29] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (3381) Limit: 3000
    [12:27:29] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (3229) Limit: 3000
    [12:27:30] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (3723) Limit: 3000
    [12:27:31] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (6345) Limit: 3000
    [12:27:31] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (3343) Limit: 3000
    [12:27:32] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (3989) Limit: 3000
    [12:27:34] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (3172) Limit: 3000
    [12:27:38] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (4801) Limit: 3000
    [12:27:38] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (4801) Limit: 3000
    [12:27:42] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (3001) Limit: 3000
    [12:27:43] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (4255) Limit: 3000
    [12:27:43] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (3459) Limit: 3000
    [12:27:51] Warning: client exceeded 'messageholelimit' (1) 127.0.0.1:49758 (9100) Limit: 3000

    public Geldanzigen(playerid)
    {
    if(GetPVarInt(playerid,"Einlogin") == 1)
    {
    new string[128];
    format(string,sizeof(string),"$ %d",Spieler[playerid][Geld]);
    TextDrawSetString(Textdraw2[playerid], string);
    format(string,sizeof(string),"--------------");
    TextDrawSetString(Textdraw3[playerid], string);
    printf("erstellt", playerid);
    //
    format(string,sizeof(string),"Name: %s",Spieler[playerid][pName]);
    TextDrawSetString(Textdraw1[playerid], string);
    } return 1;
    }


    public PaydayTD(playerid)
    {
    if(GetPVarInt(playerid,"Einlogin") == 1)
    {
    new string[128];
    format(string,sizeof(string),"Payday: %d/60",Spieler[playerid][Payday]);
    } return 1;
    }


    forward Geldanzigen(playerid);
    forward PaydayTD(playerid);
    forward Payday1(playerid);

    [pwnTextdraw0[playerid] = TextDrawCreate(488.000000, 163.000000, "");
    TextDrawBackgroundColor(Textdraw0[playerid], 255);
    TextDrawFont(Textdraw0[playerid], 1);
    TextDrawLetterSize(Textdraw0[playerid], 0.500000, 1.000000);
    TextDrawColor(Textdraw0[playerid], -1);
    TextDrawSetOutline(Textdraw0[playerid], 1);
    TextDrawSetProportional(Textdraw0[playerid], 1);
    printf("Textdraw Wird ID %d angezeigt", playerid);
    //
    Textdraw1[playerid] = TextDrawCreate(527.000000, 150.000000, "");
    TextDrawAlignment(Textdraw1[playerid], 2);
    TextDrawBackgroundColor(Textdraw1[playerid], 255);
    TextDrawFont(Textdraw1[playerid], 1);
    TextDrawLetterSize(Textdraw1[playerid], 0.500000, 1.200000);
    TextDrawColor(Textdraw1[playerid], -1);
    TextDrawSetOutline(Textdraw1[playerid], 1);
    TextDrawSetProportional(Textdraw1[playerid], 1);
    printf("Textdraw Wird ID %d angezeigt", playerid);
    //
    Textdraw2[playerid] = TextDrawCreate(493.000000, 79.000000, "");
    TextDrawBackgroundColor(Textdraw2[playerid], 255);
    TextDrawFont(Textdraw2[playerid], 1);
    TextDrawLetterSize(Textdraw2[playerid], 0.500000, 1.000000);
    TextDrawColor(Textdraw2[playerid], -1);
    TextDrawSetOutline(Textdraw2[playerid], 0);
    TextDrawSetProportional(Textdraw2[playerid], 1);
    TextDrawSetShadow(Textdraw2[playerid], 1);
    TextDrawUseBox(Textdraw2[playerid], 1);
    TextDrawBoxColor(Textdraw2[playerid], 255);
    TextDrawTextSize(Textdraw2[playerid], 605.000000, 295.000000);
    printf("Textdraw Wird ID %d angezeigt", playerid);
    //
    Textdraw3[playerid] = TextDrawCreate(493.000000, 90.000000, "");
    TextDrawBackgroundColor(Textdraw3[playerid], 255);
    TextDrawFont(Textdraw3[playerid], 1);
    TextDrawLetterSize(Textdraw3[playerid], 0.500000, 1.000000);
    TextDrawColor(Textdraw3[playerid], -1);
    TextDrawSetOutline(Textdraw3[playerid], 0);
    TextDrawSetProportional(Textdraw3[playerid], 1);
    TextDrawSetShadow(Textdraw3[playerid], 1);
    TextDrawUseBox(Textdraw3[playerid], 1);
    TextDrawBoxColor(Textdraw3[playerid], 255);
    TextDrawTextSize(Textdraw3[playerid], 607.000000, 0.000000);
    printf("Textdraw Wird ID %d angezeigt", playerid);
    //Mapincob
    SetPlayerMapIcon(playerid,12, 2121.8020,1481.2535,10.8203, 12, 0, NOOBSPAWN_GLOBAL );
    SetPlayerMapIcon(playerid,38, 1953.3124,1343.2147,15.3746, 38, 0, ST_GLOBAL );
    SetPlayerMapIcon(playerid,52, 2089.6914,1450.9739,10.8203, 52, 0, BANK_GLOBAL );
    SetPlayerMapIcon(playerid,36, 2193.7122,1988.2994,12.2969, 36, 0, SHOPICON_GLOBAL );
    SetPlayerMapIcon(playerid,30, 2342.0916,2454.4712,14.9688, 30, 0, PDICON_GLOBAL );
    //Gangwar][/pwn]


    if(GetPVarInt(playerid,"Einlogin") == 1)
    {
    printf("Textdraw Wird ID %d angezeigt", playerid);
    TextDrawShowForPlayer(playerid,Textdraw0[playerid]);
    TextDrawShowForPlayer(playerid,Textdraw1[playerid]);
    TextDrawShowForPlayer(playerid,Textdraw2[playerid]);
    TextDrawShowForPlayer(playerid,Textdraw3[playerid]);
    }


    ///


    //Serverlog

    Code
    [12:28:03] Number of vehicle models: 5
    [12:28:27] Incoming connection: 127.0.0.1:56793
    [12:28:27] [join] Lukas_Killer has joined the server (0:127.0.0.1)
    [12:28:43] Textdraw Wird ID 0 angezeigt
    [12:31:42] Incoming connection: 192.168.1.34:57104
    [12:31:43] [join] momo121 has joined the server (1:192.168.1.34)
    [12:32:08] Textdraw Wird ID 1 angezeigt
    [12:32:29] [part] momo121 has left the server (1:1)




    public Geldanzigen(playerid)
    {
    if(GetPVarInt(playerid,"Einlogin") == 1)
    {
    new string[128];
    format(string,sizeof(string),"$ %d",Spieler[playerid][Geld]);
    TextDrawSetString(Textdraw2[playerid], string);
    format(string,sizeof(string),"--------------");
    TextDrawSetString(Textdraw3[playerid], string);
    //
    format(string,sizeof(string),"Name: %s",Spieler[playerid][pName]);
    TextDrawSetString(Textdraw1[playerid], string);
    } return 1;
    }


    public PaydayTD(playerid)
    {
    if(GetPVarInt(playerid,"Einlogin") == 1)
    {
    new string[128];
    format(string,sizeof(string),"Payday: %d/60",Spieler[playerid][Payday]);
    TextDrawSetString(Textdraw0[playerid], string);
    } return 1;
    }


    [pwn//Text
    Textdraw0[playerid] = TextDrawCreate(488.000000, 163.000000, "");
    TextDrawBackgroundColor(Textdraw0[playerid], 255);
    TextDrawFont(Textdraw0[playerid], 1);
    TextDrawLetterSize(Textdraw0[playerid], 0.500000, 1.000000);
    TextDrawColor(Textdraw0[playerid], -1);
    TextDrawSetOutline(Textdraw0[playerid], 1);
    TextDrawSetProportional(Textdraw0[playerid], 1);
    //
    Textdraw1[playerid] = TextDrawCreate(527.000000, 150.000000, " ");
    TextDrawAlignment(Textdraw1[playerid], 2);
    TextDrawBackgroundColor(Textdraw1[playerid], 255);
    TextDrawFont(Textdraw1[playerid], 1);
    TextDrawLetterSize(Textdraw1[playerid], 0.500000, 1.200000);
    TextDrawColor(Textdraw1[playerid], -1);
    TextDrawSetOutline(Textdraw1[playerid], 1);
    TextDrawSetProportional(Textdraw1[playerid], 1);
    //
    Textdraw2[playerid] = TextDrawCreate(493.000000, 79.000000, "");
    TextDrawBackgroundColor(Textdraw2[playerid], 255);
    TextDrawFont(Textdraw2[playerid], 1);
    TextDrawLetterSize(Textdraw2[playerid], 0.500000, 1.000000);
    TextDrawColor(Textdraw2[playerid], -1);
    TextDrawSetOutline(Textdraw2[playerid], 0);
    TextDrawSetProportional(Textdraw2[playerid], 1);
    TextDrawSetShadow(Textdraw2[playerid], 1);
    TextDrawUseBox(Textdraw2[playerid], 1);
    TextDrawBoxColor(Textdraw2[playerid], 255);
    TextDrawTextSize(Textdraw2[playerid], 605.000000, 295.000000);
    //
    Textdraw3[playerid] = TextDrawCreate(493.000000, 90.000000, "");
    TextDrawBackgroundColor(Textdraw3[playerid], 255);
    TextDrawFont(Textdraw3[playerid], 1);
    TextDrawLetterSize(Textdraw3[playerid], 0.500000, 1.000000);
    TextDrawColor(Textdraw3[playerid], -1);
    TextDrawSetOutline(Textdraw3[playerid], 0);
    TextDrawSetProportional(Textdraw3[playerid], 1);
    TextDrawSetShadow(Textdraw3[playerid], 1);
    TextDrawUseBox(Textdraw3[playerid], 1);
    TextDrawBoxColor(Textdraw3[playerid], 255);
    TextDrawTextSize(Textdraw3[playerid], 607.000000, 0.000000);][/pwn]


    new Text:Textdraw0[MAX_PLAYERS];
    new Text:Textdraw1[MAX_PLAYERS];
    new Text:Textdraw2[MAX_PLAYERS];
    new Text:Textdraw3[MAX_PLAYERS];

    habe ich ja


    if(GetPVarInt(playerid,"Einlogin") == 1)
    {
    TextDrawShowForPlayer(playerid,Textdraw0[playerid]);
    TextDrawShowForPlayer(playerid,Textdraw1[playerid]);
    TextDrawShowForPlayer(playerid,Textdraw2[playerid]);
    TextDrawShowForPlayer(playerid,Textdraw3[playerid]);
    }

    Hallo Ich Habe Ein Neue Probene


    Wann 1 Server Komm Sie Der Next Komm Nicht Die Textdraw



    Code 1


    //Text
    Textdraw0[playerid] = TextDrawCreate(488.000000, 163.000000, "");
    TextDrawBackgroundColor(Textdraw0[playerid], 255);
    TextDrawFont(Textdraw0[playerid], 1);
    TextDrawLetterSize(Textdraw0[playerid], 0.500000, 1.000000);
    TextDrawColor(Textdraw0[playerid], -1);
    TextDrawSetOutline(Textdraw0[playerid], 1);
    TextDrawSetProportional(Textdraw0[playerid], 1);
    //
    Textdraw1[playerid] = TextDrawCreate(527.000000, 150.000000, " ");
    TextDrawAlignment(Textdraw1[playerid], 2);
    TextDrawBackgroundColor(Textdraw1[playerid], 255);
    TextDrawFont(Textdraw1[playerid], 1);
    TextDrawLetterSize(Textdraw1[playerid], 0.500000, 1.200000);
    TextDrawColor(Textdraw1[playerid], -1);
    TextDrawSetOutline(Textdraw1[playerid], 1);
    TextDrawSetProportional(Textdraw1[playerid], 1);
    //
    Textdraw2[playerid] = TextDrawCreate(493.000000, 79.000000, "");
    TextDrawBackgroundColor(Textdraw2[playerid], 255);
    TextDrawFont(Textdraw2[playerid], 1);
    TextDrawLetterSize(Textdraw2[playerid], 0.500000, 1.000000);
    TextDrawColor(Textdraw2[playerid], -1);
    TextDrawSetOutline(Textdraw2[playerid], 0);
    TextDrawSetProportional(Textdraw2[playerid], 1);
    TextDrawSetShadow(Textdraw2[playerid], 1);
    TextDrawUseBox(Textdraw2[playerid], 1);
    TextDrawBoxColor(Textdraw2[playerid], 255);
    TextDrawTextSize(Textdraw2[playerid], 605.000000, 295.000000);
    //
    Textdraw3[playerid] = TextDrawCreate(493.000000, 90.000000, "");
    TextDrawBackgroundColor(Textdraw3[playerid], 255);
    TextDrawFont(Textdraw3[playerid], 1);
    TextDrawLetterSize(Textdraw3[playerid], 0.500000, 1.000000);
    TextDrawColor(Textdraw3[playerid], -1);
    TextDrawSetOutline(Textdraw3[playerid], 0);
    TextDrawSetProportional(Textdraw3[playerid], 1);
    TextDrawSetShadow(Textdraw3[playerid], 1);
    TextDrawUseBox(Textdraw3[playerid], 1);
    TextDrawBoxColor(Textdraw3[playerid], 255);
    TextDrawTextSize(Textdraw3[playerid], 607.000000, 0.000000);



    Code 2.
    new Text:Textdraw0[MAX_PLAYERS];
    new Text:Textdraw1[MAX_PLAYERS];
    new Text:Textdraw2[MAX_PLAYERS];
    new Text:Textdraw3[MAX_PLAYERS];



    if(GetPVarInt(playerid,"Einlogin") == 1)
    {
    new string[128];
    format(string,sizeof(string),"$ %d",Spieler[playerid][Geld]);
    TextDrawSetString(Textdraw2[playerid], string);
    format(string,sizeof(string),"--------------");
    TextDrawSetString(Textdraw3[playerid], string);
    //
    format(string,sizeof(string),"Name: %s",Spieler[playerid][pName]);
    TextDrawSetString(Textdraw1[playerid], string);
    } return 1;
    }


    public PaydayTD(playerid)
    {
    if(GetPVarInt(playerid,"Einlogin") == 1)
    {
    new string[128];
    format(string,sizeof(string),"Payday: %d/60",Spieler[playerid][Payday]);
    TextDrawSetString(Textdraw0[playerid], string);
    } return 1;
    }

    ocmd:setskin(playerid, params[])
    {
    new pID, Skin;
    if(Spieler[playerid][Admin] == 1)
    {
    SetPlayerSkin(pID, Skin);
    }
    else
    SendClientMessagte(playerid,ROT,"Du Bist Keine Admin");
    return 1;
    }

    ocmd:setskin(playerid, params[])
    {
    new pID, Skin;
    if(!isPlayerAnAdmin(playerid,3))return SendClientMessage(playerid,ROT,"FEHLER:Du besitzt keine Rechte, um diesen Befehl zu benutzen!");
    SetPlayerSkin(pID, Skin);
    return 1;
    }


    so

    hier


    Externer Inhalt www.youtube.com
    Inhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.
    Durch die Aktivierung der externen Inhalte erklären Sie sich damit einverstanden, dass personenbezogene Daten an Drittplattformen übermittelt werden. Mehr Informationen dazu haben wir in unserer Datenschutzerklärung zur Verfügung gestellt.