gametext über kopf

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 jedemenge Skins zur Auswahl. Bei den "Gangskins" wie Gs und Ballas stehen bereits die namen drüber. aber nun habe ich außer diesen Gangs/Mafias/staatsdiener jede menge Zivilisten skins hinzugefüft. Dies sind soviele, das ich zu faul bin sie alle aufzuzählen.kann man das machen, das alle skins die noch nicht aufgezählt wurden zivis sind?


    public OnPlayerRequestClass(playerid, classid)
    {


    SetPlayerPos(playerid, 2536.4468,-1677.1610,19.9302);
    SetPlayerFacingAngle(playerid, 89.4983);
    SetPlayerCameraPos(playerid, 2530.0239,-1677.8695,19.9302);
    SetPlayerCameraLookAt(playerid, 2536.4468,-1677.1610,19.9302);
    //hier steht über jedem skin den man sich auswählt der name des skins.
    if(classid == 0 || classid == 1 || classid == 2 || classid == 3 || classid == 4 || classid == 5 || classid == 6){
    SetPlayerColor(playerid,0x33AA33AA);
    GameTextForPlayer(playerid, "~g~Grove Street", 5000, 6);}
    if(classid == 7 || classid == 8 || classid == 9 || classid == 10){
    SetPlayerColor(playerid,0xC11D91B5);
    GameTextForPlayer(playerid, "~p~Ballas", 5000, 6);}
    if(classid == 11 || classid == 12 || classid == 13 || classid == 14 || classid == 15 || classid == 16 || classid == 17){
    SetPlayerColor(playerid,0x00FFFFFF);
    GameTextForPlayer(playerid, "~b~~h~~h~Aztecas", 5000, 6);}
    if(classid == 18 || classid == 19 || classid == 20 || classid == 21 || classid == 22 || classid == 23){
    SetPlayerColor(playerid,0xFFFF00CD);
    GameTextForPlayer(playerid, "~y~Al Qaida", 5000, 6);}
    if(classid == 24 || classid == 25 || classid == 26 || classid == 27 || classid == 28 || classid == 29 || classid == 30){
    SetPlayerColor(playerid,0xFFFFFFFF);
    GameTextForPlayer(playerid, "~w~Yakuza", 5000, 6);}
    if(classid == 31 || classid == 32 || classid == 33 || classid == 34 || classid == 35 || classid == 36){
    SetPlayerColor(playerid,0xFFFFFFFF);
    GameTextForPlayer(playerid, "~w~L C N", 5000, 6);}
    if(classid == 37 || classid == 38 || classid == 39 || classid == 40 || classid == 41 || classid == 42){
    SetPlayerColor(playerid,0xFF0000B0);
    GameTextForPlayer(playerid, "~r~Hells Angels", 5000, 6);}
    if(classid == 43 || classid == 44 || classid == 45 || classid == 46){
    SetPlayerColor(playerid,0x0000FFFF);
    GameTextForPlayer(playerid, "~b~~h~Los Santos Polzei", 5000, 6);}
    if(classid == 47 || classid == 48 || classid == 49 || classid == 50){
    SetPlayerColor(playerid,0x0000FFFF);
    GameTextForPlayer(playerid, "~b~~h~San Fierro Polzei", 5000, 6);}
    if(classid == 51 || classid == 52 || classid == 53|| classid == 54){
    SetPlayerColor(playerid,0x0000FFFF);
    GameTextForPlayer(playerid, "~b~~h~Las Venturas Polzei", 5000, 6);}
    if(classid == 55){
    SetPlayerColor(playerid,0xFFFF00CD);
    GameTextForPlayer(playerid, "~r~Ar~y~my", 5000, 6);}
    if(classid == 56 || classid == 57 || classid == 58 || classid == 59 || classid == 60){
    SetPlayerColor(playerid,0x00B7FFFF);
    GameTextForPlayer(playerid, "~b~Regie~w~rung", 5000, 6);}
    if(classid == 61|| classid == 62 || classid == 63 || classid == 64){
    SetPlayerColor(playerid,0xAA3333AA);
    GameTextForPlayer(playerid, "~r~Ar~w~zt", 5000, 6);}
    //hier sollen die ziviskins aufgezählt werden{
    SetPlayerColor(playerid,FARBE);
    GameTextForPlayer(playerid, "Zivilist",5000,6);}
    return 1;
    }

  • public OnPlayerRequestClass(playerid, classid)
    {


    SetPlayerPos(playerid, 2536.4468,-1677.1610,19.9302);
    SetPlayerFacingAngle(playerid, 89.4983);
    SetPlayerCameraPos(playerid, 2530.0239,-1677.8695,19.9302);
    SetPlayerCameraLookAt(playerid, 2536.4468,-1677.1610,19.9302);
    //hier steht über jedem skin den man sich auswählt der name des skins.
    if(classid == 0 || classid == 1 || classid == 2 || classid == 3 || classid == 4 || classid == 5 || classid == 6){
    SetPlayerColor(playerid,0x33AA33AA);
    GameTextForPlayer(playerid, "~g~Grove Street", 5000, 6);}
    if(classid == 7 || classid == 8 || classid == 9 || classid == 10){
    SetPlayerColor(playerid,0xC11D91B5);
    GameTextForPlayer(playerid, "~p~Ballas", 5000, 6);}
    if(classid == 11 || classid == 12 || classid == 13 || classid == 14 || classid == 15 || classid == 16 || classid == 17){
    SetPlayerColor(playerid,0x00FFFFFF);
    GameTextForPlayer(playerid, "~b~~h~~h~Aztecas", 5000, 6);}
    if(classid == 18 || classid == 19 || classid == 20 || classid == 21 || classid == 22 || classid == 23){
    SetPlayerColor(playerid,0xFFFF00CD);
    GameTextForPlayer(playerid, "~y~Al Qaida", 5000, 6);}
    if(classid == 24 || classid == 25 || classid == 26 || classid == 27 || classid == 28 || classid == 29 || classid == 30){
    SetPlayerColor(playerid,0xFFFFFFFF);
    GameTextForPlayer(playerid, "~w~Yakuza", 5000, 6);}
    if(classid == 31 || classid == 32 || classid == 33 || classid == 34 || classid == 35 || classid == 36){
    SetPlayerColor(playerid,0xFFFFFFFF);
    GameTextForPlayer(playerid, "~w~L C N", 5000, 6);}
    if(classid == 37 || classid == 38 || classid == 39 || classid == 40 || classid == 41 || classid == 42){
    SetPlayerColor(playerid,0xFF0000B0);
    GameTextForPlayer(playerid, "~r~Hells Angels", 5000, 6);}
    if(classid == 43 || classid == 44 || classid == 45 || classid == 46){
    SetPlayerColor(playerid,0x0000FFFF);
    GameTextForPlayer(playerid, "~b~~h~Los Santos Polzei", 5000, 6);}
    if(classid == 47 || classid == 48 || classid == 49 || classid == 50){
    SetPlayerColor(playerid,0x0000FFFF);
    GameTextForPlayer(playerid, "~b~~h~San Fierro Polzei", 5000, 6);}
    if(classid == 51 || classid == 52 || classid == 53|| classid == 54){
    SetPlayerColor(playerid,0x0000FFFF);
    GameTextForPlayer(playerid, "~b~~h~Las Venturas Polzei", 5000, 6);}
    if(classid == 55){
    SetPlayerColor(playerid,0xFFFF00CD);
    GameTextForPlayer(playerid, "~r~Ar~y~my", 5000, 6);}
    if(classid == 56 || classid == 57 || classid == 58 || classid == 59 || classid == 60){
    SetPlayerColor(playerid,0x00B7FFFF);
    GameTextForPlayer(playerid, "~b~Regie~w~rung", 5000, 6);}
    if(classid == 61|| classid == 62 || classid == 63 || classid == 64){
    SetPlayerColor(playerid,0xAA3333AA);
    GameTextForPlayer(playerid, "~r~Ar~w~zt", 5000, 6);}
    else{
    SetPlayerColor(playerid,FARBE);
    GameTextForPlayer(playerid, "Zivilist",5000,6);}
    return 1;
    }

  • public OnPlayerRequestClass(playerid, classid)
    {
    SetPlayerPos(playerid, 2536.4468,-1677.1610,19.9302);
    SetPlayerFacingAngle(playerid, 89.4983);
    SetPlayerCameraPos(playerid, 2530.0239,-1677.8695,19.9302);
    SetPlayerCameraLookAt(playerid, 2536.4468,-1677.1610,19.9302);
    //hier steht über jedem skin den man sich auswählt der name des skins.
    if(classid == 0 || classid == 1 || classid == 2 || classid == 3 || classid == 4 || classid == 5 || classid == 6){
    SetPlayerColor(playerid,0x33AA33AA);
    GameTextForPlayer(playerid, "~g~Grove Street", 5000, 6);}
    else if(classid == 7 || classid == 8 || classid == 9 || classid == 10){
    SetPlayerColor(playerid,0xC11D91B5);
    GameTextForPlayer(playerid, "~p~Ballas", 5000, 6);}
    else if(classid == 11 || classid == 12 || classid == 13 || classid == 14 || classid == 15 || classid == 16 || classid == 17){
    SetPlayerColor(playerid,0x00FFFFFF);
    GameTextForPlayer(playerid, "~b~~h~~h~Aztecas", 5000, 6);}
    else if(classid == 18 || classid == 19 || classid == 20 || classid == 21 || classid == 22 || classid == 23){
    SetPlayerColor(playerid,0xFFFF00CD);
    GameTextForPlayer(playerid, "~y~Al Qaida", 5000, 6);}
    else if(classid == 24 || classid == 25 || classid == 26 || classid == 27 || classid == 28 || classid == 29 || classid == 30){
    SetPlayerColor(playerid,0xFFFFFFFF);
    GameTextForPlayer(playerid, "~w~Yakuza", 5000, 6);}
    else if(classid == 31 || classid == 32 || classid == 33 || classid == 34 || classid == 35 || classid == 36){
    SetPlayerColor(playerid,0xFFFFFFFF);
    GameTextForPlayer(playerid, "~w~L C N", 5000, 6);}
    else if(classid == 37 || classid == 38 || classid == 39 || classid == 40 || classid == 41 || classid == 42){
    SetPlayerColor(playerid,0xFF0000B0);
    GameTextForPlayer(playerid, "~r~Hells Angels", 5000, 6);}
    else if(classid == 43 || classid == 44 || classid == 45 || classid == 46){
    SetPlayerColor(playerid,0x0000FFFF);
    GameTextForPlayer(playerid, "~b~~h~Los Santos Polzei", 5000, 6);}
    else if(classid == 47 || classid == 48 || classid == 49 || classid == 50){
    SetPlayerColor(playerid,0x0000FFFF);
    GameTextForPlayer(playerid, "~b~~h~San Fierro Polzei", 5000, 6);}
    else if(classid == 51 || classid == 52 || classid == 53|| classid == 54){
    SetPlayerColor(playerid,0x0000FFFF);
    GameTextForPlayer(playerid, "~b~~h~Las Venturas Polzei", 5000, 6);}
    else if(classid == 55){
    SetPlayerColor(playerid,0xFFFF00CD);
    GameTextForPlayer(playerid, "~r~Ar~y~my", 5000, 6);}
    else if(classid == 56 || classid == 57 || classid == 58 || classid == 59 || classid == 60){
    SetPlayerColor(playerid,0x00B7FFFF);
    GameTextForPlayer(playerid, "~b~Regie~w~rung", 5000, 6);}
    else if(classid == 61|| classid == 62 || classid == 63 || classid == 64){
    SetPlayerColor(playerid,0xAA3333AA);
    GameTextForPlayer(playerid, "~r~Ar~w~zt", 5000, 6);}
    else{
    SetPlayerColor(playerid,FARBE);
    GameTextForPlayer(playerid, "Zivilist",5000,6);}
    return 1;
    }

    Why do programmers always mix up Halloween and Christmas?
    Oct 31 == Dec 25