Beiträge von lollipop

    ICh zeig euch mal ein beispiel weil ich denke alle ist dann bissl viel ;D
    Sie sind alle nach dem gleichen Prinzip
    forward CloseFBITor();
    new FBITor[2];
    //FBITOR:
    FBITor[0] = CreateObject(971,1018.51385498,2128.59814453,13.39024544,0.00000000,0.00000000,90.00000000); //object(subwaygate) (1)
    FBITor[1] = CreateObject(971,1018.50604248,2137.37646484,13.39024544,0.00000000,0.00000000,270.00000000); //object(subwaygate) (2)

    if(strcmp(cmd,"/auf", true) == 0)
    {
    if (PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
    {
    if(IsPlayerInRangeOfPoint(playerid,3.0,1904.35021973,943.59271240,-3.26212883))
    {
    MoveObject(yakuzator[0],1904.35021973,943.59271240,-3.26212883,3);
    MoveObject(yakuzator[1],1909.76025391,943.59271240,-3.26212883,3);
    SetTimer("Closeyakuzator", 5000, 0);
    SendClientMessage(playerid, COLOR_YELLOW,"Das Yakuza Tor ist offen. Beeil dich es schließt in 5 Sekunden");
    }
    }
    else if (PlayerInfo[playerid][pMember] == 21 || PlayerInfo[playerid][pLeader] == 21)
    {
    if(IsPlayerInRangeOfPoint(playerid,3.0,1018.51385498,2128.59814453,3.39024544))
    {
    MoveObject(FBITor[0],1018.51385498,2128.59814453,3.39024544,3);
    MoveObject(FBITor[1],1018.50604248,2137.37646484,3.39024544,3);
    SetTimer("CloseFBITor", 5000, 0);
    SendClientMessage(playerid, COLOR_YELLOW,"Das F.B.I. Tor ist offen. Beeil dich es schließt in 5 Sekunden");
    }
    }
    public CloseFBITor()
    {
    MoveObject(FBITor[0],1018.51385498,2128.59814453,13.39024544,3);
    MoveObject(FBITor[1],1018.50604248,2137.37646484,13.39024544,3);
    for(new i=0; i<GetMaxPlayers(); i++)
    {
    if(IsPlayerConnected(i) && IsPlayerInRangeOfPoint(i,10.0,1018.50604248,2132.87646484,13.39024544))
    {
    PlaySoundForPlayer(i,1035);
    SetTimerEx("PlaySoundForPlayer",2000,0,"id",i,1036);
    }
    }
    return 1;
    }

    Guck ma es sind 2 Tore nebeneinander.
    Wie soll ich die mit nur einem Moveobject machen?
    Sieh sollen bei /auf auf gehen dann startet ja der timer nach 5 sek gehen sie halt wieder dank dem timer wieder zu.
    Naja die gehen garnicht erunter das ist des Problem keins geht obwohl ich an der entsprechenden Stlle bin bzw. in der Fraktion.
    mfg lolli

    Yo hi,
    ich wollte mehrer Fraktionen einem Befehl zuordnen für ihre Tore.
    Wo liegt da der Fehler?
    Ich weis nicht warum aber keins geht.
    mfg lolli:
    if(strcmp(cmd,"/auf", true) == 0)
    {
    if (PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
    {
    if(IsPlayerInRangeOfPoint(playerid,3.0,1904.35021973,943.59271240,-3.26212883))
    {
    MoveObject(yakuzator[0],1904.35021973,943.59271240,-3.26212883,3);
    MoveObject(yakuzator[1],1909.76025391,943.59271240,-3.26212883,3);
    SetTimer("Closeyakuzator", 5000, 0);
    SendClientMessage(playerid, COLOR_YELLOW,"Das Yakuza Tor ist offen. Beeil dich es schließt in 5 Sekunden");
    }
    }
    else if (PlayerInfo[playerid][pMember] == 21 || PlayerInfo[playerid][pLeader] == 21)
    {
    if(IsPlayerInRangeOfPoint(playerid,3.0,1018.51385498,2128.59814453,3.39024544))
    {
    MoveObject(FBITor[0],1018.51385498,2128.59814453,3.39024544,3);
    MoveObject(FBITor[1],1018.50604248,2137.37646484,3.39024544,3);
    SetTimer("CloseFBITor", 5000, 0);
    SendClientMessage(playerid, COLOR_YELLOW,"Das F.B.I. Tor ist offen. Beeil dich es schließt in 5 Sekunden");
    }
    }
    else if(IsACop(playerid))
    {
    if(IsPlayerInRangeOfPoint(playerid,3.0,2294.11328125,2498.49877930,-8.87901878))
    {
    MoveObject(lvpdtor,2294.11328125,2498.49877930,-8.87901878,3);
    SetTimer("Closelvpdtor", 5000, 0);
    SendClientMessage(playerid, COLOR_YELLOW,"Das LVPD Garagen Tor ist offen. Beeil dich es schließt in 5 Sekunden");
    }
    else if(IsPlayerInRangeOfPoint(playerid,3.0,2334.63256836,2443.13403320,-5.21779966))
    {
    MoveObject(lvpdtor1,2334.63256836,2443.13403320,-5.21779966,3);
    SetTimer("Closelvpdtor1", 5000, 0);
    SendClientMessage(playerid, COLOR_YELLOW,"Das LVPD Garagen Tor ist offen. Beeil dich es schließt in 5 Sekunden");
    }
    else if(IsPlayerInRangeOfPoint(playerid,3.0,2238.19995117,2450.41772461,10.68817139))
    {
    MoveObjektRot(lvpdschranke, 0.0000, 0.0000, 180.0000,10);
    SetTimer("Closelvpdschranke", 5000, 0);
    SendClientMessage(playerid, COLOR_YELLOW,"Die LVPD Schranke ist offen. Beeil dich es schließt in 5 Sekunden");
    }
    else if(IsPlayerInRangeOfPoint(playerid,3.0,664.91107177734,-1309.2678222656,5.309328079224))
    {
    MoveObject(SWATTor1,664.91107177734,-1309.2678222656,5.309328079224,3);
    SetTimer("CloseSWATTor", 5000, 0);
    SendClientMessage(playerid, COLOR_YELLOW,"Das S.W.A.T. Tor ist offen. Beeil dich es schließt in 5 Sekunden");
    }
    else if(IsPlayerInRangeOfPoint(playerid,3.0,785.46051025391,-1152.4428710938,15.387865066528))
    {
    MoveObject(SWATTor2,785.46051025391,-1152.4428710938,15.387865066528,3);
    SetTimer("CloseSWATTor1", 5000, 0);
    SendClientMessage(playerid, COLOR_YELLOW,"Das S.W.A.T. Tor ist offen. Beeil dich es schließt in 5 Sekunden");
    }
    else if(IsPlayerInRangeOfPoint(playerid,3.0,660.32781982422,-1227.5465087891,6.826139450073))
    {
    MoveObject(SWATTor3,660.32781982422,-1227.5465087891,6.826139450073,3);
    SetTimer("CloseSWATTor2", 5000, 0);
    SendClientMessage(playerid, COLOR_YELLOW,"Das S.W.A.T. Tor ist offen. Beeil dich es schließt in 5 Sekunden");
    }
    else if(IsPlayerInRangeOfPoint(playerid,3.0,-1631.78,688.24,13.68))
    {
    MoveObject(SFPDTor,-1631.78,688.24,13.68, 2);
    SetTimer("CloseSFPDTor1", 5000, 0);
    SendClientMessage(playerid, COLOR_YELLOW,"Das SFPD Tor ist offen. Beeil dich es schließt in 5 Sekunden");
    }
    }
    else if (PlayerInfo[playerid][pMember] == 20 || PlayerInfo[playerid][pLeader] == 20)
    {
    if(IsPlayerInRangeOfPoint(playerid,3.0,-320.90585327148,1808.7587890625,35.167144775391))
    {
    MoveObject(TerrorTor2,-320.90585327148,1808.7587890625,35.167144775391,3);
    SetTimer("CloseTerrorTor1", 5000, 0);
    SendClientMessage(playerid, COLOR_YELLOW,"Das Terrortor ist offen. Beeil dich es schließt in 5 Sekunden");
    }
    else if(IsPlayerInRangeOfPoint(playerid,3.0,-335.517578125,1736.2874755859,35.460891723633))
    {
    MoveObject(TerrorTor1,-335.517578125,1736.2874755859,35.460891723633,3);
    SetTimer("CloseTerrorTor", 5000, 0);
    SendClientMessage(playerid, COLOR_YELLOW,"Das Terrortor ist offen. Beeil dich es schließt in 5 Sekunden");
    }
    }
    else if (PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
    {
    if(IsPlayerInRangeOfPoint(playerid,3.0,1143.8410644531,-1366.2684326172,5.51349067688))
    {
    MoveObject(KrankenhausTor2,1143.8410644531,-1366.2684326172,5.51349067688,3);
    SetTimer("CloseKrankenhausTor1", 5000, 0);
    SendClientMessage(playerid, COLOR_YELLOW,"Das Sanitätertor ist offen. Beeil dich es schließt in 5 Sekunden");
    }
    else if(IsPlayerInRangeOfPoint(playerid,3.0,1140.9866943359,-1294.3481445313,5.35369682312))
    {
    MoveObject(KrankenhausTor1,1140.9866943359,-1294.3481445313,5.35369682312,3);
    SetTimer("CloseKrankenhausTor", 5000, 0);
    SendClientMessage(playerid, COLOR_YELLOW,"Das Sanitätertor ist offen. Beeil dich es schließt in 5 Sekunden");
    }

    }
    else if (PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7)
    {
    if(IsPlayerInRangeOfPoint(playerid,3.0,1143.8410644531,-1366.2684326172,5.51349067688))
    {
    MoveObject(PraesiTor,1245.15234375,-767.19335938,83.84339142,3);
    SetTimer("ClosePraesiTor", 5000, 0);
    SendClientMessage(playerid, COLOR_YELLOW,"Das Präsidenten Tor ist offen. Beeil dich es schließt in 5 Sekunden");
    }
    }
    else SendClientMessage(playerid, 0xFF6347AA, "Du bis nicht in der nähe eines Tores!");
    return 1;
    }


    //edit es war Ziel das man z.b. als Member der Fraktion 22 mehrer Tore öffnen kann.
    Also wenn man in der nähe von ... ist geht das Tor auf und da das usw.
    Vill versteht man des jez ;D

    Yoa Fraktion mit ID 17 ist VariosLosAtctecas ;D
    Naja habe den Fehler endeckt.
    Farbe wa wie folgt definiert:
    #define VLA //Varios Los Atztecas
    Also ohne Farbcode.
    Ich hätte da nie nachgeguckt.
    Danke für die hilfe.
    ......::::::CLOSE:::::..........

    Yoa hi,
    ich war grade am Scripten.
    Ich habe es jetzt mit den Markern auf der map hinbekommen.
    Ich kriege immer in den selbern Zeilen errors.
    Also egal wo ich was einfüge immer die Selben Zeilen.
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-your-Dream(1).pwn(4675) : error 029: invalid expression, assumed zero
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-your-Dream(1).pwn(4675) : error 035: argument type mismatch (argument 2)
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-your-Dream(1).pwn(4676) : error 029: invalid expression, assumed zero
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-your-Dream(1).pwn(4676) : error 035: argument type mismatch (argument 3)
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    4 Errors.


    if (PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16) //Los Santos Vagos
    {
    SetPlayerColor(playerid,Vagos);
    SetPlayerMarkerForPlayer(playerid,playerid,Vagos);
    SetPlayerToTeamColor(playerid);
    GivePlayerWeapons(playerid);
    SetPlayerPos(playerid,2808.2705,-1169.3121,1025.5703);
    SetPlayerFacingAngle(playerid,88.9785);
    SetPlayerInterior(playerid,8);
    PlayerInfo[playerid][pInt] = 8;
    SetPlayerVirtualWorld(playerid,8);
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 17 || PlayerInfo[playerid][pLeader] == 17) //Varios Los Aztecas
    {
    SetPlayerColor(playerid,VLA); //4675
    SetPlayerMarkerForPlayer(playerid,playerid,VLA); //4676
    SetPlayerToTeamColor(playerid);
    GivePlayerWeapons(playerid);
    SetPlayerPos(playerid,2808.2705,-1169.3121,1025.5703);
    SetPlayerFacingAngle(playerid,134.9023);
    SetPlayerInterior(playerid,8);
    PlayerInfo[playerid][pInt] = 8;
    SetPlayerVirtualWorld(playerid,9);
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18) //San Fierro Rifa
    {
    SetPlayerColor(playerid,Rifa);
    SetPlayerMarkerForPlayer(playerid,playerid,Rifa);
    SetPlayerToTeamColor(playerid);
    GivePlayerWeapons(playerid);
    SetPlayerPos(playerid,2808.2705,-1169.3121,1025.5703);
    SetPlayerFacingAngle(playerid,271.0359);
    SetPlayerInterior(playerid,8);
    PlayerInfo[playerid][pInt] = 8;
    SetPlayerVirtualWorld(playerid,10);
    return 1;
    }
    Hoffe mir kann jemand helfen.
    Ich weis echt nicht mehr weiter.
    mfg lolli



    //edit Ich habe herausgefunden das es nur bei diesem ist also die errors egal ob weiter unten oder weiter oben:
    if (PlayerInfo[playerid][pMember] == 17 || PlayerInfo[playerid][pLeader] == 17) //Varios Los Aztecas
    {
    SetPlayerColor(playerid,VLA);
    SetPlayerMarkerForPlayer(playerid,playerid,VLA);
    SetPlayerToTeamColor(playerid);
    GivePlayerWeapons(playerid);
    SetPlayerPos(playerid,2808.2705,-1169.3121,1025.5703);
    SetPlayerFacingAngle(playerid,134.9023);
    SetPlayerInterior(playerid,8);
    PlayerInfo[playerid][pInt] = 8;
    SetPlayerVirtualWorld(playerid,9);
    return 1;
    }
    Ich blicke es net.
    Diese ist genauso aufgebaut wie alle anderen.
    Wenn des raus ist mit
    /* ... */
    Dann sind keine errors da aber ich brauche es.
    mfg lolli

    5 min arbeit.
    In 5min kann man es perfect also exakt machen ohne ecken die man verbessern muss.
    1/10
    Weil es deinen 1. map ist.
    Meine 1. map war für einen ganzen Server ;D
    mfg lolli

    Yo,
    habe des ma gemacht bei SetPlayerSpawn eingefgt.
    Hier die errors:
    [hide]C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(3000) : warning 215: expression has no effect
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(3025) : warning 215: expression has no effect
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(3713) : warning 215: expression has no effect
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4431) : warning 215: expression has no effect
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4443) : warning 215: expression has no effect
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4455) : warning 215: expression has no effect
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4466) : warning 215: expression has no effect
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4476) : warning 215: expression has no effect
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4488) : warning 215: expression has no effect
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4499) : warning 215: expression has no effect
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4511) : warning 215: expression has no effect
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4521) : warning 215: expression has no effect
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4531) : warning 215: expression has no effect
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4543) : warning 215: expression has no effect
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4553) : warning 215: expression has no effect
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4564) : warning 215: expression has no effect
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4575) : warning 215: expression has no effect
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4586) : warning 215: expression has no effect
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4598) : warning 215: expression has no effect
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4610) : warning 215: expression has no effect
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4622) : warning 215: expression has no effect
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4634) : warning 215: expression has no effect
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4646) : warning 215: expression has no effect
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4658) : warning 215: expression has no effect
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4670) : warning 215: expression has no effect
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4683) : warning 215: expression has no effect
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4697) : warning 215: expression has no effect
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4708) : warning 215: expression has no effect
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4719) : warning 215: expression has no effect
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4730) : warning 215: expression has no effect
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4742) : error 004: function "SetPlayerToTeamColor" is not implemented
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4750) : error 004: function "SetPlayerToTeamColor" is not implemented
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4760) : error 004: function "SetPlayerToTeamColor" is not implemented
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4771) : error 004: function "SetPlayerToTeamColor" is not implemented
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4779) : error 004: function "SetPlayerToTeamColor" is not implemented
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4782) : warning 215: expression has no effect
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4992) : error 001: expected token: "-identifier-", but found "("
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4994) : error 010: invalid function or declaration
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(4998) : error 010: invalid function or declaration
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(5002) : error 010: invalid function or declaration
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(5006) : error 010: invalid function or declaration
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(5009) : error 010: invalid function or declaration
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(5011) : error 010: invalid function or declaration
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(5015) : error 010: invalid function or declaration
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(5019) : error 010: invalid function or declaration
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(5023) : error 010: invalid function or declaration
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(5027) : error 010: invalid function or declaration
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(5031) : error 010: invalid function or declaration
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(5035) : error 010: invalid function or declaration
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(5039) : error 010: invalid function or declaration
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(5043) : error 010: invalid function or declaration
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(5047) : error 010: invalid function or declaration
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(5051) : error 010: invalid function or declaration
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(5055) : error 010: invalid function or declaration
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(5059) : error 010: invalid function or declaration
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(5063) : error 010: invalid function or declaration
    C:\Users\Sven\Desktop\3c Client released\gamemodes\Life-Your-Dream.pwn(5067) : error 010: invalid function or declaration


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    26 Errors.
    [/hide]
    Hier das ganze Public:
    http://pastebin.com/BmZSk5TV
    Es kommt immer die Errors bei:

    SetPlayerColor(playerid);



    Hoffe mir kann jemand helfen.
    mfg lolli

    Yo hi,
    Ich habe mir überlegt wie ich des machen kann das man die Punkte auf der Map sieht.
    Ich habe des so:
    if (PlayerInfo[playerid][pMember] == 0 || PlayerInfo[playerid][pLeader] == 0) //Zivi
    {
    SetPlayerColor(playerid,COLOR_WHITE);
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)// LS Police spawn
    {
    SetPlayerColor(playerid,NB);
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2) //SF Police spawn
    {
    SetPlayerColor(playerid,NB);
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)//Army spawn
    {
    SetPlayerColor(playerid,COLOR_GREEN);
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)//Sanitäter spawn
    {
    SetPlayerColor(playerid,COLOR_RED);
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)//LaCosaNostra spawn
    {
    SetPlayerColor(playerid,COLOR_ORANGE);
    return 1;
    }
    if (PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pMember] == 6)//Yakuza spawn
    {
    SetPlayerColor(playerid,COLOR_PURPLE);
    return 1;
    }
    if(PlayerInfo[playerid][pLeader] == 7)//Präsident spawn
    {
    SetPlayerColor(playerid,COLOR_BLACK);
    return 1;
    }
    if(PlayerInfo[playerid][pMember] == 7)//Bodyguard spawn
    {
    SetPlayerColor(playerid,COLOR_BLACK);
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8) //Hitman spawn
    {
    SetPlayerColor(playerid,COLOR_DARKRED);
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9) //News spawn
    {
    SetPlayerColor(playerid,COLOR_LIME);
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10) //Taxi spawn
    {
    SetPlayerColor(playerid,COLOR_YELLOW);
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12) //LS.Bikers Spawn
    {
    SetPlayerColor(playerid,COLOR_GREY);
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13) //GROOVE STREET FAMILIY
    {
    SetPlayerColor(playerid,COLOR_LIGHTGREEN);
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14) //BALLAS GANG
    {
    SetPlayerColor(playerid,COLOR_PURPLE);
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15) //Fast and Furious
    {
    SetPlayerColor(playerid,COLOR_LIGHTRED);
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16) //Los Santos Vagos
    {
    SetPlayerColor(playerid,COLOR_YELLOW);
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 17 || PlayerInfo[playerid][pLeader] == 17) //Varios Los Aztecas
    {
    SetPlayerColor(playerid,COLOR_YELLOW);
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18) //San Fierro Rifa
    {
    SetPlayerColor(playerid,COLOR_GREENYELLOW);
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 19 || PlayerInfo[playerid][pLeader] == 19) //W C Customs
    {
    SetPlayerColor(playerid,COLOR_LIGHTRED);
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 20 || PlayerInfo[playerid][pLeader] == 20) //Terroristen
    {
    SetPlayerColor(playerid,COLOR_YELLOW);
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 21) //FBI Agenten spawn
    {
    SetPlayerColor(playerid,STEALTH_BLUE);
    return 1;
    }
    if (PlayerInfo[playerid][pLeader] == 21) //FBI Leader spawn
    {
    SetPlayerColor(playerid,STEALTH_BLUE);
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22) //Feuerwehr spawn
    {
    SetPlayerColor(playerid,COLOR_LIGHTRED);
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 23 || PlayerInfo[playerid][pLeader] == 23) //Russenmafia spawn
    {
    SetPlayerColor(playerid,COLOR_GREY);
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 24 || PlayerInfo[playerid][pLeader] == 24) //Oamt spawn
    {
    SetPlayerColor(playerid,COLOR_LIGHTBLUE);
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 25 || PlayerInfo[playerid][pLeader] == 25) //S.W.A.T. spawn
    {
    SetPlayerColor(playerid,NB);
    return 1;
    }
    Ich habe des so.
    Wo setzt ich des am besten hin das es auch neue Spieler sehen die drauf Conneten.
    Wenn ich des bei OnPlayerSpawn hinsetzte spawnt man net mehr an seinem normalen spawn.
    Wenn ich es bei OnPlayerUpdateEx hinsetzt dauert es ewig bis es da ist.
    Bei OnPlayerlogIn
    Kann man sich nicht mehr einloggen.
    Also wo kommt es am besten hin?
    mfg lolli


    //edit
    Vill. ist es hilfreich:
    Es ist ein stark editiertes LoH 0.4


    //edit Überschrift geändärt
    //Edit: Authorisierter Push

    Ich geh immer mit rechtsklick drauf nd öffnen wird als voll admin ausgeführt.
    Weis nicht why des ent geht.
    Jez ließt es von dem Includesordner.
    Naja aber ein error kp warum:
    [hide]C:\Users\Sven\Desktop\3c Client released\pawno\include\a_samp.inc(19) : fatal error 100: cannot read from file: "string"


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.
    [/hide]
    #include <a_samp>
    #include <streamer>


    #if defined FILTERSCRIPT


    public OnFilterScriptInit()
    {
    print("\n--------------------------------------");
    print(" Blank Filterscript by your name here");
    print("--------------------------------------\n");
    return 1;
    }


    public OnFilterScriptExit()
    {
    return 1;
    }


    #else


    main()
    {
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
    }


    #endif


    public OnGameModeInit()
    {
    // Don't use these lines if it's a filterscript
    SetGameModeText("Blank Script");
    AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    return 1;
    }


    public OnGameModeExit()
    {
    return 1;
    }


    public OnPlayerRequestClass(playerid, classid)
    {
    SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
    return 1;
    }


    public OnPlayerConnect(playerid)
    {
    return 1;
    }


    public OnPlayerDisconnect(playerid, reason)
    {
    return 1;
    }


    public OnPlayerSpawn(playerid)
    {
    return 1;
    }


    public OnPlayerDeath(playerid, killerid, reason)
    {
    return 1;
    }


    public OnVehicleSpawn(vehicleid)
    {
    return 1;
    }


    public OnVehicleDeath(vehicleid, killerid)
    {
    return 1;
    }


    public OnPlayerText(playerid, text[])
    {
    return 1;
    }


    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if (strcmp("/mycommand", cmdtext, true, 10) == 0)
    {
    // Do something here
    return 1;
    }
    return 0;
    }


    public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
    {
    return 1;
    }


    public OnPlayerExitVehicle(playerid, vehicleid)
    {
    return 1;
    }


    public OnPlayerStateChange(playerid, newstate, oldstate)
    {
    return 1;
    }


    public OnPlayerEnterCheckpoint(playerid)
    {
    return 1;
    }


    public OnPlayerLeaveCheckpoint(playerid)
    {
    return 1;
    }


    public OnPlayerEnterRaceCheckpoint(playerid)
    {
    return 1;
    }


    public OnPlayerLeaveRaceCheckpoint(playerid)
    {
    return 1;
    }


    public OnRconCommand(cmd[])
    {
    return 1;
    }


    public OnPlayerRequestSpawn(playerid)
    {
    return 1;
    }


    public OnObjectMoved(objectid)
    {
    return 1;
    }


    public OnPlayerObjectMoved(playerid, objectid)
    {
    return 1;
    }


    public OnPlayerPickUpPickup(playerid, pickupid)
    {
    return 1;
    }


    public OnVehicleMod(playerid, vehicleid, componentid)
    {
    return 1;
    }


    public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
    {
    return 1;
    }


    public OnVehicleRespray(playerid, vehicleid, color1, color2)
    {
    return 1;
    }


    public OnPlayerSelectedMenuRow(playerid, row)
    {
    return 1;
    }


    public OnPlayerExitedMenu(playerid)
    {
    return 1;
    }


    public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
    {
    return 1;
    }


    public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
    {
    return 1;
    }


    public OnRconLoginAttempt(ip[], password[], success)
    {
    return 1;
    }


    public OnPlayerUpdate(playerid)
    {
    return 1;
    }


    public OnPlayerStreamIn(playerid, forplayerid)
    {
    return 1;
    }


    public OnPlayerStreamOut(playerid, forplayerid)
    {
    return 1;
    }


    public OnVehicleStreamIn(vehicleid, forplayerid)
    {
    return 1;
    }


    public OnVehicleStreamOut(vehicleid, forplayerid)
    {
    return 1;
    }


    public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
    {
    return 1;
    }


    public OnPlayerClickPlayer(playerid, clickedplayerid, source)
    {
    return 1;
    }


    Wie muss es richtig sein?
    mfg lolli

    Können wa was testen?
    Kann mir des jemand als FS machen ohne Objecte drin bei dem des Compilen geht.
    Wenn es dann bei mir net geht dann liegt es an meinem PC ;D
    Weil ich weis keine andere lösung.
    Habe neu gedownloaded hilft nix.
    mfg lolli

    Yo hi,
    ich habe ein Problem.
    Bei mir erkennt der PAWN Compiler mein Streamerplugin nicht.
    Hier mein Komplettes Script.
    Es ist noch nichtmal ein Object drin.
    [hide]C:\Users\Sven\Desktop\3c Client released\filterscripts\Plugin.pwn(6) : fatal error 100: cannot read from file: "streamer"


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.
    [/hide]
    #include <a_samp>
    #include <streamer>


    #if defined FILTERSCRIPT
    #define STREAMER_TYPE_OBJECT (0)
    #define STREAMER_TYPE_PICKUP (1)
    #define STREAMER_TYPE_CP (2)
    #define STREAMER_TYPE_RACE_CP (3)
    #define STREAMER_TYPE_MAP_ICON (4)
    #define STREAMER_TYPE_3D_TEXT_LABEL (5)
    #define STREAMER_TYPE_AREA (6)


    enum
    {
    E_STREAMER_ATTACHED_PLAYER,
    E_STREAMER_ATTACHED_VEHICLE,
    E_STREAMER_COLOR,
    E_STREAMER_DISTANCE,
    E_STREAMER_DRAW_DISTANCE,
    E_STREAMER_EXTRA_ID,
    E_STREAMER_INTERIOR_ID,
    E_STREAMER_MAX_X,
    E_STREAMER_MAX_Y,
    E_STREAMER_MAX_Z,
    E_STREAMER_MIN_X,
    E_STREAMER_MIN_Y,
    E_STREAMER_MIN_Z,
    E_STREAMER_MODEL_ID,
    E_STREAMER_MOVE_SPEED,
    E_STREAMER_MOVE_X,
    E_STREAMER_MOVE_Y,
    E_STREAMER_MOVE_Z,
    E_STREAMER_NEXT_X,
    E_STREAMER_NEXT_Y,
    E_STREAMER_NEXT_Z,
    E_STREAMER_PLAYER_ID,
    E_STREAMER_R_X,
    E_STREAMER_R_Y,
    E_STREAMER_R_Z,
    E_STREAMER_SIZE,
    E_STREAMER_STYLE,
    E_STREAMER_TEST_LOS,
    E_STREAMER_TYPE,
    E_STREAMER_WORLD_ID,
    E_STREAMER_X,
    E_STREAMER_Y,
    E_STREAMER_Z
    }


    public OnFilterScriptInit()
    {
    print("\n--------------------------------------");
    print(" Blank Filterscript by your name here");
    print("--------------------------------------\n");
    return 1;
    }


    public OnFilterScriptExit()
    {
    return 1;
    }


    #else


    main()
    {
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
    }


    #endif


    public OnGameModeInit()
    {
    return 1;
    }


    public OnGameModeExit()
    {
    return 1;
    }


    public OnPlayerRequestClass(playerid, classid)
    {
    return 1;
    }


    public OnPlayerConnect(playerid)
    {
    return 1;
    }


    public OnPlayerDisconnect(playerid, reason)
    {
    return 1;
    }


    public OnPlayerSpawn(playerid)
    {
    return 1;
    }


    public OnPlayerDeath(playerid, killerid, reason)
    {
    return 1;
    }


    public OnVehicleSpawn(vehicleid)
    {
    return 1;
    }


    public OnVehicleDeath(vehicleid, killerid)
    {
    return 1;
    }


    public OnPlayerText(playerid, text[])
    {
    return 1;
    }


    public OnPlayerCommandText(playerid, cmdtext[])
    {
    return 0;
    }


    public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
    {
    return 1;
    }


    public OnPlayerExitVehicle(playerid, vehicleid)
    {
    return 1;
    }


    public OnPlayerStateChange(playerid, newstate, oldstate)
    {
    return 1;
    }


    public OnPlayerEnterCheckpoint(playerid)
    {
    return 1;
    }


    public OnPlayerLeaveCheckpoint(playerid)
    {
    return 1;
    }


    public OnPlayerEnterRaceCheckpoint(playerid)
    {
    return 1;
    }


    public OnPlayerLeaveRaceCheckpoint(playerid)
    {
    return 1;
    }


    public OnRconCommand(cmd[])
    {
    return 1;
    }


    public OnPlayerRequestSpawn(playerid)
    {
    return 1;
    }


    public OnObjectMoved(objectid)
    {
    return 1;
    }


    public OnPlayerObjectMoved(playerid, objectid)
    {
    return 1;
    }


    public OnPlayerPickUpPickup(playerid, pickupid)
    {
    return 1;
    }


    public OnVehicleMod(playerid, vehicleid, componentid)
    {
    return 1;
    }


    public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
    {
    return 1;
    }


    public OnVehicleRespray(playerid, vehicleid, color1, color2)
    {
    return 1;
    }


    public OnPlayerSelectedMenuRow(playerid, row)
    {
    return 1;
    }


    public OnPlayerExitedMenu(playerid)
    {
    return 1;
    }


    public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
    {
    return 1;
    }


    public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
    {
    return 1;
    }


    public OnRconLoginAttempt(ip[], password[], success)
    {
    return 1;
    }


    public OnPlayerUpdate(playerid)
    {
    return 1;
    }


    public OnPlayerStreamIn(playerid, forplayerid)
    {
    return 1;
    }


    public OnPlayerStreamOut(playerid, forplayerid)
    {
    return 1;
    }


    public OnVehicleStreamIn(vehicleid, forplayerid)
    {
    return 1;
    }


    public OnVehicleStreamOut(vehicleid, forplayerid)
    {
    return 1;
    }


    public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
    {
    return 1;
    }


    public OnPlayerClickPlayer(playerid, clickedplayerid, source)
    {
    return 1;
    }


    Hoffe jemand kann mir helfen.
    mfg lolli