Drogen an Fraktion

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Guten Tag ich habe da eine Frage ich wollte mall wissen ich habe das jetzt so auf unseren Server das Jeder Member einer Gang Drogen anbauen kann jetzt wollte ich das so machen das da steht Drogen Plantage der Fraktion z.B Terroristen




    new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); format(stringx, sizeof(stringx), "LSD Plantage von %s", name); SendClientMessage(playerid, COLOR_GREY, stringx);DrogenLabellsd[playerid] = Create3DTextLabel(stringx, COLOR_WHITE, x, y, z, 20.0, 0, 1);

  • else if(level == 1) { PlayerInfo[para1][pChar] = 283; gTeam[para1] = 2; PlayerInfo[para1][pTeam] = 2; } // LOS SANTOS POLICE else if(level == 2) { PlayerInfo[para1][pChar] = 165; gTeam[para1] = 2; PlayerInfo[para1][pTeam] = 2; } // SAN FIERRO POLICE
    else if(level == 3) { PlayerInfo[para1][pChar] = 287; gTeam[para1] = 2; PlayerInfo[para1][pTeam] = 2; } // Bundeswehr
    else if(level == 4) { PlayerInfo[para1][pChar] = 275; gTeam[para1] = 4; PlayerInfo[para1][pTeam] = 4; } // Medic
    else if(level == 5) { PlayerInfo[para1][pChar] = 113; } // La Cosa Nostra
    else if(level == 6) { PlayerInfo[para1][pChar] = 120; } // Yakuza
    else if(level == 7) { PlayerInfo[para1][pChar] = 295; } // Mayor
    else if(level == 8) { PlayerInfo[para1][pChar] = 294; } // Hitmans
    else if(level == 9) { PlayerInfo[para1][pChar] = 187; } // CNN
    else if(level == 10) { PlayerInfo[para1][pChar] = 189; } // Taxi Cab Company
    else if(level == 11) { PlayerInfo[para1][pChar] = 240; } // Fahrschule
    else if(level == 12) { PlayerInfo[para1][pChar] = 120; } // Fuegos
    else if(level == 13) { PlayerInfo[para1][pChar] = 269; } // Grove Street
    else if(level == 14) { PlayerInfo[para1][pChar] = 103; } // Ballas
    else if(level == 15) { PlayerInfo[para1][pChar] = 247; } // Sf Biker Club
    else if(level == 16) { PlayerInfo[para1][pChar] = 110; } // Los Santos Vagos
    else if(level == 17) { PlayerInfo[para1][pChar] = 115; } // Varios Los Aztecas
    else if(level == 18) { PlayerInfo[para1][pChar] = 173; } // Los Santos Rifa
    else if(level == 19) { PlayerInfo[para1][pChar] = 19; } // Red Soldiers
    else if(level == 20) { PlayerInfo[para1][pChar] = 220; } // Terroristen
    else if(level == 21) { PlayerInfo[para1][pChar] = 47; } //Wheelmen
    else if(level == 22) { PlayerInfo[para1][pChar] = 285; } // S.W.A.T Elite Troop
    else if(level == 23) { PlayerInfo[para1][pChar] = 127; } // russenmafia
    else if(level == 24) { PlayerInfo[para1][pChar] = 71; } // Ordnungsamt
    else if(level == 25) { PlayerInfo[para1][pChar] = 165; } // Ordnungsamt

  • stock GetFactionNameOfFaction(Faction){ new FactionName[64]; if(Faction == 5) format(FactionName,sizeof(FactionName),"L.C.N"); else if(Faction == 6) format(FactionName,sizeof(FactionName),"Yakuza"); else if(Faction == 12) format(FactionName,sizeof(FactionName),"Triaden"); else if(Faction == 13) format(FactionName,sizeof(FactionName),"G.S.F"); else if(Faction == 14) format(FactionName,sizeof(FactionName),"Ballas"); else if(Faction == 15) format(FactionName,sizeof(FactionName),"Dillimore Devils"); else if(Faction == 16) format(FactionName,sizeof(FactionName),"Vagos"); else if(Faction == 17) format(FactionName,sizeof(FactionName),"Aztekas"); else if(Faction == 18) format(FactionName,sizeof(FactionName),"Rifa"); else if(Faction == 19) format(FactionName,sizeof(FactionName),"Red Souldier"); else if(Faction == 20) format(FactionName,sizeof(FactionName),"Terroristen"); else if(Faction == 23) format(FactionName,sizeof(FactionName),"Brigdan"); else format(FactionName,sizeof(FactionName),"NoN-Gang"); return FactionName;

  • Habe aus Handgelenk * π was zusammengebastelt:

    Zitat

    Untestedformat(stringx, sizeof(stringx), "LSD Plantage von %s", GetFactionNameOfFaction(PlayerInfo[playerid][pTeam]));
    SendClientMessage(playerid, COLOR_GREY, stringx);
    DrogenLabellsd[playerid] = Create3DTextLabel(stringx, COLOR_WHITE, x, y, z, 20.0, 0, 1);


    Jetzt steht anstelle des Namen's des Players, der Name der Fraktion in der er ist.
    Bei Buggs, Errors, o.ä einfach melden ;]


    Gruss: Sonic

    I didn't hit you. I high fived your face.

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen