Beiträge von Don.Corleone

    public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
    {
    SendClientMessage(playerid, COLOR_WHITE, "Clicked on TDraw");
    if(playertextid == pTutorialDrawSkin[10][playerid]) // arrow back
    {
    // female
    if(GetPlayerSkin(playerid) == 12){
    SetPlayerSkin(playerid, 193);
    pChoosedSkin[playerid] = 193;
    }
    else if(GetPlayerSkin(playerid) == 193){
    SetPlayerSkin(playerid, 192);
    pChoosedSkin[playerid] = 192;
    }
    else if(GetPlayerSkin(playerid) == 192){
    SetPlayerSkin(playerid, 152);
    pChoosedSkin[playerid] = 152;
    }
    else if(GetPlayerSkin(playerid) == 152){
    SetPlayerSkin(playerid, 93);
    pChoosedSkin[playerid] = 93;
    }
    else if(GetPlayerSkin(playerid) == 93){
    SetPlayerSkin(playerid, 56);
    pChoosedSkin[playerid] = 56;
    }
    else if(GetPlayerSkin(playerid) == 56){
    SetPlayerSkin(playerid, 55);
    pChoosedSkin[playerid] = 55;
    }
    else if(GetPlayerSkin(playerid) == 55){
    SetPlayerSkin(playerid, 41);
    pChoosedSkin[playerid] = 41;
    }
    else if(GetPlayerSkin(playerid) == 41){
    SetPlayerSkin(playerid, 40);
    pChoosedSkin[playerid] = 40;
    }
    else if(GetPlayerSkin(playerid) == 40){
    SetPlayerSkin(playerid, 12);
    pChoosedSkin[playerid] = 12;
    }
    // male coming soon
    }
    if(playertextid == pTutorialDrawSkin[12][playerid]) // Pfeil weiter
    {
    // Weiblich
    if(GetPlayerSkin(playerid) == 12){
    SetPlayerSkin(playerid, 40);
    pChoosedSkin[playerid] = 40;
    }
    else if(GetPlayerSkin(playerid) == 40){
    SetPlayerSkin(playerid, 41);
    pChoosedSkin[playerid] = 41;
    }
    else if(GetPlayerSkin(playerid) == 41){
    SetPlayerSkin(playerid, 55);
    pChoosedSkin[playerid] = 55;
    }
    else if(GetPlayerSkin(playerid) == 55){
    SetPlayerSkin(playerid, 56);
    pChoosedSkin[playerid] = 56;
    }
    else if(GetPlayerSkin(playerid) == 56){
    SetPlayerSkin(playerid, 93);
    pChoosedSkin[playerid] = 93;
    }
    else if(GetPlayerSkin(playerid) == 93){
    SetPlayerSkin(playerid, 152);
    pChoosedSkin[playerid] = 152;
    }
    else if(GetPlayerSkin(playerid) == 152){
    SetPlayerSkin(playerid, 192);
    pChoosedSkin[playerid] = 192;
    }
    else if(GetPlayerSkin(playerid) == 192){
    SetPlayerSkin(playerid, 193);
    pChoosedSkin[playerid] = 193;
    }
    else if(GetPlayerSkin(playerid) == 193){
    SetPlayerSkin(playerid, 12);
    pChoosedSkin[playerid] = 12;
    }
    }
    return 1;
    }

    Hallo. Ich habe ein kleines Problem. Undzwar möchte ich Player-Textdraws erstellen, welche "anklickbar" sind. Ich habe auch bereits etwas eingefügt, aber wenn ich nun klicke passiert nichts, habe auch schon OnPlayerClickPlayerTextDraw debuggen lassen.
    Da passiert aber nichts. Hier meine Textdraws, die ich erstellt habe:

    pTutorialDrawSkin[10][playerid] = CreatePlayerTextDraw(playerid, 370.000, 251.377, "<");
    PlayerTextDrawLetterSize(playerid, pTutorialDrawSkin[10][playerid], 0.685, 2.375);
    PlayerTextDrawAlignment(playerid, pTutorialDrawSkin[10][playerid], 1);
    PlayerTextDrawColor(playerid, pTutorialDrawSkin[10][playerid], -1);
    PlayerTextDrawSetOutline(playerid, pTutorialDrawSkin[10][playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, pTutorialDrawSkin[10][playerid], 51);
    PlayerTextDrawFont(playerid, pTutorialDrawSkin[10][playerid], 1);
    PlayerTextDrawSetProportional(playerid, pTutorialDrawSkin[10][playerid], 1);
    PlayerTextDrawTextSize(playerid, pTutorialDrawSkin[10][playerid], 1337.000, 1337.000);


    pTutorialDrawSkin[12][playerid] = CreatePlayerTextDraw(playerid, 532.833, 251.048, ">");
    PlayerTextDrawLetterSize(playerid, pTutorialDrawSkin[12][playerid], 0.685, 2.375);
    PlayerTextDrawAlignment(playerid, pTutorialDrawSkin[12][playerid], 1);
    PlayerTextDrawColor(playerid, pTutorialDrawSkin[12][playerid], -1);
    PlayerTextDrawSetOutline(playerid, pTutorialDrawSkin[12][playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, pTutorialDrawSkin[12][playerid], 51);
    PlayerTextDrawFont(playerid, pTutorialDrawSkin[12][playerid], 1);
    PlayerTextDrawSetProportional(playerid, pTutorialDrawSkin[12][playerid], 1);
    PlayerTextDrawTextSize(playerid, pTutorialDrawSkin[12][playerid], 1337.000, 1337.000);


    PlayerTextDrawSetSelectable(playerid, pTutorialDrawSkin[playerid][10], true);
    PlayerTextDrawSetSelectable(playerid, pTutorialDrawSkin[playerid][12], true);

    SelectTextDraw(playerid, 0xFFCC00FF);


    Ich hoffe, ihr könnt mir helfen! :/

    So meine Frage.
    Wenn ich eine Sa-Mp Map verkaufe an eine Person und die Geschäfst bediengung ist das sie diese nicht Veröffentlichen darf, oder verbreiten ect.
    Nur für dein Eigenen Server zu verwenden und nicht anderewertig.
    Wie darf ich das festleggen? Brauch ich eine besondere Lizens?
    Was muss ich beachten?



    -Dein Pate.