Beiträge von CanDerKiller

    Hei ich habe eine frage unzwar habe ich ein problem auf meinem Server ich habe jetz bankautomaten gemappt, und die buggen also wen ich neben den bankautomaten stehe bekomme ich exe ist bei jedem spieler auf meinem server so, bei den anderen server passiert mir nix, ich kann dort ruhig 1-2 std stehen und bekomme keine exe


    Bitte hellft mir

    So hier ist das befehl:


    if(strcmp(cmd, "/edit", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    if(SpielerInfo[playerid][pAdmin] < 1339)
    {
    SendClientMessage(playerid, COLOR_RED, "Du bist kein Administrator!");
    return 1;
    }
    new x_job[256];
    x_job = strtok(cmdtext, idx);
    if(!strlen(x_job)) {
    SendClientMessage(playerid, COLOR_WHITE, "=========== [/edit] ===========");
    SendClientMessage(playerid, COLOR_WHITE, "FEHLER: /edit [name] [ammount] (Benutzt für Häuser)");
    SendClientMessage(playerid, COLOR_GREY, "Available names: Level, Price, Funds, Products");
    return 1;
    }
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, COLOR_GRAD2, "FEHLER: /edit [name] [betrag]");
    return 1;
    }
    new proplev = strval(tmp);
    //if(strcmp(x_job,"car",true) == 0)
    for(new i = 0; i < sizeof(HouseInfo); i++)
    {
    if (IsPlayerInRangeOfPoint(playerid,3,HouseInfo[i][hEntrancex], HouseInfo[i][hEntrancey], HouseInfo[i][hEntrancez]))
    {
    format(string, sizeof(string), "House: %d", i);
    GetPlayerName(playerid,sendername, sizeof(sendername));
    SendClientMessage(playerid, COLOR_GRAD2, string);
    if(proplev > 0)
    {
    if(strcmp(x_job,"level",true) == 0)
    {
    HouseInfo[i][hLevel] = proplev;
    format(string, sizeof(string), "%s hat das Level des Hauses %d auf %d geändert",sendername, i, proplev);
    HausLog(string);
    ABroadCast(COLOR_LIGHTRED,string,1);
    }
    else if(strcmp(x_job,"price",true) == 0)
    {
    HouseInfo[i][hValue] = proplev;
    format(string, sizeof(string), "%s hat den Preis des Hauses %d auf %d$ geändert",sendername, i, proplev);
    HausLog(string);
    ABroadCast(COLOR_LIGHTRED,string,1);
    }
    }
    }
    }
    for(new i = 0; i < sizeof(BizzInfo); i++)
    {
    if (IsPlayerInRangeOfPoint(playerid,3,BizzInfo[i][bEntranceX], BizzInfo[i][bEntranceY], BizzInfo[i][bEntranceZ]))
    {
    format(string, sizeof(string), "Biz: %d", i);
    SendClientMessage(playerid, COLOR_GRAD2, string);
    if(proplev > 0)
    {
    if(strcmp(x_job,"level",true) == 0)
    {
    BizzInfo[i][bLevelNeeded] = proplev;
    }
    else if(strcmp(x_job,"price",true) == 0)
    {
    BizzInfo[i][bBuyPrice] = proplev;
    }
    else if(strcmp(x_job,"funds",true) == 0)
    {
    BizzInfo[i][bTill] = proplev;
    }
    else if(strcmp(x_job,"products",true) == 0)
    {
    BizzInfo[i][bProducts] = proplev;
    }
    }
    }
    }
    for(new i = 0; i < sizeof(SBizzInfo); i++)
    {
    if (IsPlayerInRangeOfPoint(playerid,3,SBizzInfo[i][sbEntranceX], SBizzInfo[i][sbEntranceY], SBizzInfo[i][sbEntranceZ]))
    {
    format(string, sizeof(string), "SBiz: %d", i);
    SendClientMessage(playerid, COLOR_GRAD2, string);
    if(proplev > 0)
    {
    if(strcmp(x_job,"level",true) == 0)
    {
    SBizzInfo[i][sbLevelNeeded] = proplev;
    }
    else if(strcmp(x_job,"price",true) == 0)
    {
    SBizzInfo[i][sbBuyPrice] = proplev;
    }
    else if(strcmp(x_job,"funds",true) == 0)
    {
    SBizzInfo[i][sbTill] = proplev;
    }
    else if(strcmp(x_job,"products",true) == 0)
    {
    SBizzInfo[i][sbProducts] = proplev;
    }
    }
    }
    }
    format(string, sizeof(string), "Du hast die/den %s eingestellt.", x_job);
    SendClientMessage(playerid, COLOR_WHITE, string);
    OnPropUpdate();
    }
    return 1;
    }

    Also das ist so bei mir, immer wen ich das haus editiere z.B das hauslevel, dann wird das nicht angezeigt sondern nur nach einem Restart, und ich will einen Timer erstellen damit das 3D text label jede sekunde von einem timer aktulisiert wird, bzw einfach neuladet



    Ich brauche immer noch HIlfe!

    Hallo Community.


    Ich habe eine frage an euch, ich habe gerade versucht einen Timer zu erstellen damit die Haus 3D Text label jede sekunde resetet wird, kann mir jemand dabei helfen?


    h_text


    Das ist der name von dem 3D Text label für die Häuser, Danke im vorraus

    Hallo Community.


    Ich suche einen Selfmade script.
    Das sollte ein Reallife Script sein, und soll Alles besitzen was in einem Reallife script sein muss.


    Was alles vorhanden sein muss!
    Gangfight,
    Handy,
    Bank,
    23 Fraks( mindestens ),
    Autohaus,
    Fraktionsautohaus,
    Basen für jede Fraktion ( mit Toren die alle mit /mv öffnen und schließen kann ),
    Register system mit Alter eingeben usw.,
    Admin befehle,
    Stadthalle,
    24/7,
    Waffenladen,
    15Jobs ( mindestens ),
    Bankraub,
    Auto befehle,
    Uhrzeit + Datum,
    Tacho,
    Stats im Dialog,
    sollte auf MySQL laufen,
    Dynamisches Haussystem,
    Biz system,
    Tüv,
    Fahrzeuge könnte man anmelden können ( Nummerschild kaufen ),
    Headshot system NUR FÜR HITMANS möglich sollte auch bei aufträgen Funktionieren,
    S.W.A.T Einheit,
    Zahltag,
    Jedes level sollten die Respektpunkte um 4 steigen bzw wen man Level 1 ist sollte man 8 Respektpunkte sammeln ab level 9 schon 12, und level 10 schon 16 immer 4 Repsektpunkte +,
    Spawnschutz,
    Clothes in LV-LS-SF,
    Fraktionskasse,
    FraktionsLeader können Gehalt von member ändern,
    Maske sollte sein damit der Name nicht mehr sichtbar ist,
    Objectstreamer sollte drinne sein,
    Ingame Häuser Erstellen,
    Ingame Häuser Bearbeiten,
    InGame Häuser Löschen,
    InGame Besitzer Einstellen/Löschen,

    Züge sollten Fahren,
    Duty System,
    Fischer System,
    Knast System,
    Radio,








    Ich zahle bis 150€ meldet euch bei mir, am besten könnt ihr einen Testserer eröffnen und dan vorstellen wäre mir lieber.



















    [Folgendes muss im Thema enthalten sein und darf nicht entfernt werden:]
    ______
    Unverbindlicher Hinweis: Die Sicherheit einer Transaktion kann am besten durch die Einschaltung eines Mittelsmannes gewährleistet werden. Weitere Informationen dazu gibt es hier.

    Bestimmt kennst du das GangWar wie auf Nova-eSports..ich habe sowas in der art,..nur etwas weiter entwickelt..und ist besser als der Gangwar auf Nova...


    würd ich dir in einem gesamt wert von 15€ verkaufen

    Hier mal der ganze public code von Onplayerdeath


    public OnPlayerDeath(playerid, killerid, reason)
    {
    RemovePlayerAttachedObject(playerid, 1);
    new string[256];
    if(playerid == killerid) return false;
    /* DriveBy */
    if(killerid != 255)
    {
    if(GetPlayerState(killerid) == 2)
    {
    if(!IsPlayerInAnyVehicle(playerid))
    {
    if(SpielerInfo[killerid][pAdmin] < 1)
    {
    SendClientMessage(killerid, COLOR_YELLOW, "Du hast ein Driveby Kill begangen.");
    SendClientMessage(killerid, COLOR_YELLOW, "Es wurde ein Report an die Admins gesendet.");
    return 1;
    }
    }
    }
    }
    new Float:pPosX, Float:pPosY, Float:pPosZ;
    GetPlayerPos(playerid, pPosX, pPosY, pPosZ);
    for(new i_slot = 0, gun, ammo; i_slot != 12; i_slot++)
    {
    GetPlayerWeaponData(playerid, i_slot, gun, ammo);
    if(gun != 0 && ammo != 0) CreateDroppedGun(gun, ammo, pPosX+random(2)-random(2), pPosY+random(2)-random(2), pPosZ);
    }
    new name[MAX_PLAYER_NAME];
    new playercash;
    new victimteam;
    victimteam = gTeam[playerid];
    gPlayerSpawned[playerid] = 0;
    GetPlayerName(playerid, name, sizeof(name));
    SpielerInfo[playerid][pLocal] = 999;
    if (gPlayerCheckpointStatus[playerid] > 4 && gPlayerCheckpointStatus[playerid] < 11)
    {
    DisablePlayerCheckpoint(playerid);
    gPlayerCheckpointStatus[playerid] = CHECKPOINT_NONE;
    }
    new caller = Mobile[playerid];
    if(caller != 999)
    {
    if(caller < 999)
    {
    SendClientMessage(caller, COLOR_GRAD2, " Die Verbindung wurde unterbrochen....");
    CellTime[caller] = 0;
    SetPlayerSpecialAction(playerid,13);
    CellTime[playerid] = 0;
    Mobile[caller] = 999;
    }
    Mobile[playerid] = 999;
    CellTime[playerid] = 0;
    SetPlayerSpecialAction(playerid,13);
    }
    ClearCrime(playerid);
    if(PlayerPaintballing[playerid] != 0)
    {
    PlayerPaintballKills[killerid] ++;
    if(PlayerPaintballKills[killerid] > PaintballWinnerKills)
    {
    new killer[MAX_PLAYER_NAME];
    PaintballWinner = killerid;
    PaintballWinnerKills = PlayerPaintballKills[killerid];
    GetPlayerName(killerid, killer, sizeof(killer));
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i))
    {
    if(PlayerPaintballing[i] != 0)
    {
    format(string, sizeof(string), "* %s ist mit %d Kills in Führung.",killer,PaintballWinnerKills);
    SendClientMessage(i, COLOR_WHITE, string);
    }
    }
    }
    }
    return 1;
    }
    if(SpielerInfo[playerid][pHeadValue] > 0)
    {
    if(IsPlayerConnected(killerid))
    {
    if(gTeam[killerid] == 10 || SpielerInfo[killerid][sLeader] == 8 || SpielerInfo[killerid][sMember] == 8)
    {
    if(GoChase[killerid] == playerid)
    {
    ConsumingMoney[killerid] = 1;
    new killer[MAX_PLAYER_NAME];
    GetPlayerName(killerid, killer, sizeof(killer));
    PlayerMoney[killerid] = PlayerMoney[killerid]+SpielerInfo[playerid][pHeadValue];
    format(string,128,"<< Hitman %s hat den Auftrag an %s erfüllt und bekommt: $%d >>",killer,name,SpielerInfo[playerid][pHeadValue]);
    SendFamilyMessage(8, COLOR_YELLOW, string);
    SpielerInfo[playerid][pHeadValue] = 0;
    GotHit[playerid] = 0;
    GetChased[playerid] = 999;
    GoChase[killerid] = 999;
    }
    }
    }
    }
    SpielerInfo[playerid][pDeaths] += 1;
    if(WantedLevel[playerid] >= 1)
    {
    new price = WantedLevel[playerid] * 100;
    new count;
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i))
    {
    if(IsACop(i) && CrimInRange(30.0, playerid,i))
    {
    count = 1;
    }
    }
    }
    if(count == 1)
    {
    PlayerMoney[playerid] = PlayerMoney[playerid]- price;
    SpielerInfo[playerid][pWantedDeaths] += 1;
    SpielerInfo[playerid][pJailed] = 1;
    SpielerInfo[playerid][pJailTime] = (WantedLevel[playerid] * 600);
    format(string, sizeof(string), "Du bist für %d Sekunden im Gefängnis und musst $%d bezahlen.", SpielerInfo[playerid][pJailTime], price);
    SendClientMessage(playerid, COLOR_LIGHTRED, string);
    WantedPoints[playerid] = 0;
    WantedLevel[playerid] = 0;
    }
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i))
    {
    if(IsACop(i) && CrimInRange(30.0, playerid,i))
    {
    format(string, sizeof(string), "~w~Gesuchten umgebracht~n~Bonus: ~g~$%d", price);
    GameTextForPlayer(i, string, 3000, 1);
    ConsumingMoney[i] = 1;
    PlayerMoney[playerid] = PlayerMoney[playerid]+price;
    PlayerPlaySound(i, 1058, 0.0, 0.0, 0.0);
    }
    }
    }
    }
    if(IsBlacklist[playerid]==1)
    {
    ClearBlack(playerid);
    IsBlacklist[playerid]=0;
    }
    if(victimteam >= 4)
    {
    if(IsPlayerConnected(killerid))
    {
    new slice = 0; //$0
    playercash = PlayerMoney[playerid];
    if(gTeam[killerid] != 2) { WantedPoints[killerid] += 2; } //+ 2 wanted points
    if(SafeTime[playerid] <= 0)
    {
    if(gTeam[killerid] != gTeam[playerid])
    {
    if(GetPlayerState(killerid) == 1)
    {
    SpielerInfo[killerid][pKills] = SpielerInfo[killerid][pKills] + 2;
    }
    else
    {
    SpielerInfo[killerid][pKills]++;
    }
    SpielerInfo[playerid][pKills]--;
    }
    }
    if (((gTeam[killerid]) == 1) || ((gTeam[killerid]) == 3 && civnokill) || (gTeam[killerid] == gTeam[playerid] && gTeam[playerid] != 4))
    {
    slice = 0;
    }
    if (((gTeam[killerid]) != 4) && ((gTeam[killerid]) == gTeam[playerid]))//no team kill
    {
    slice = 0;
    }
    if (playercash > 0)
    {
    PlayerMoney[playerid] = PlayerMoney[playerid]-slice;
    }
    else
    {
    slice = slice+500;
    }
    PlayerMoney[killerid] = PlayerMoney[killerid]+slice;
    PlayerPlaySound(killerid, 1083, 0.0, 0.0, 0.0);
    if (((gTeam[killerid]) == 3) && reason != 49)
    {
    if(SpielerInfo[playerid][pJailed] == 0)
    {
    SetPlayerCriminal(killerid,255, "Vorsätzlicher Mord");
    }
    }
    else if (((gTeam[killerid]) == 3) && reason == 49)
    {
    SetPlayerCriminal(killerid,255, "Fahrerflucht");
    }
    }
    }
    else if (victimteam == 2)
    {
    if(IsPlayerConnected(killerid))
    {
    new killer[MAX_PLAYER_NAME];
    GetPlayerName(killerid, killer, sizeof(killer));
    // Cop kill
    SpielerInfo[playerid][pKills]--;
    if (gTeam[killerid] == 2)//cops kill cop
    {
    format(string,128,"AdmCmd: Polizist %s ermordete Polizist %s",killer,name);
    SendAdminMessage(COLOR_YELLOW, string);
    format(string,128,".: Cop %s ermordete Cop %s und wird sofort entlassen:.",killer,name);
    SendLeaderMessage(playerid, COLOR_ALLDEPT, string);
    PlayerPlaySound(killerid, 1084, 0.0, 0.0, 0.0);
    }
    if (gTeam[killerid] >= 3)
    {
    WantedPoints[killerid] += 2; //+ 2 wanted points
    if(reason != 49)
    {
    if(SpielerInfo[playerid][pJailed] == 0)
    {
    SetPlayerCriminal(killerid,255, "Vorsätzlicher Mord");
    }
    }
    else if (reason == 49)
    {
    SetPlayerCriminal(killerid,255, "Fahrerflucht");
    }
    }
    if(gTeam[killerid] >= 5 && SafeTime[playerid] <= 0)
    {
    if(GetPlayerState(killerid) == 1)
    {
    SpielerInfo[killerid][pKills] = SpielerInfo[killerid][pKills]+2;
    }
    else
    {
    SpielerInfo[killerid][pKills]++;
    }
    WantedPoints[killerid]+=2;
    }
    }
    }
    else if (victimteam == 3)
    {
    if(IsPlayerConnected(killerid))
    {
    if(gTeam[killerid] == 2)//cops kill civ
    {
    if(WantedLevel[playerid] < 1)
    {
    //format(string,128,".: Officer %s murdered %s (%s) and was sued for $%d :.",killer,name,deathreason,suecost);
    PlayerPlaySound(killerid, 1084, 0.0, 0.0, 0.0);
    PlayerMoney[killerid] = PlayerMoney[killerid]-suecost;
    PlayerMoney[playerid] = PlayerMoney[playerid]+suecost+100;//+100pays hospital bill
    }
    }
    else
    {
    WantedPoints[killerid] += 2;
    }
    if (((gTeam[killerid]) >= 3 || (gTeam[killerid]) == 1) && reason != 49)
    {
    if(SpielerInfo[playerid][pJailed] == 0)
    {
    SetPlayerCriminal(killerid,255, "Vorsätzlicher Mord");
    }
    }
    else if (((gTeam[killerid]) >= 3 || (gTeam[killerid]) == 1) && reason == 49)
    {
    SetPlayerCriminal(killerid,255, "Fahrerflucht");
    }
    //BroadCast(COLOR_RED, string);
    }
    }
    else if (victimteam == 1)
    {
    if(IsPlayerConnected(killerid))
    {
    //new killer[MAX_PLAYER_NAME];
    //GetPlayerName(killerid, killer, sizeof(killer));
    // Civ kill
    if ((gTeam[killerid]) == 2)//cops kill civ
    {
    //format(string,128,".: Beamter %s hat Arzt %s getötet (%s) und muss $%d zahlen :.",killer,name,deathreason,suecost);
    PlayerPlaySound(killerid, 1084, 0.0, 0.0, 0.0);
    PlayerMoney[killerid] = PlayerMoney[killerid]-suecost;
    PlayerMoney[playerid] = PlayerMoney[playerid]+suecost+100;//+100pays hospital bill
    }
    else if ((gTeam[killerid]) == 1)//med kill civ
    {
    //format(string,128,".: Arzt %s hat getötet %s (%s) und muss $%d zahlen :.",killer,name,deathreason,suecost);
    PlayerPlaySound(killerid, 1084, 0.0, 0.0, 0.0);
    PlayerMoney[killerid] = PlayerMoney[killerid]-suecost;
    PlayerMoney[playerid] = PlayerMoney[playerid]+suecost+100;//+100pays hospital bill
    }
    else
    {
    //format(string,128,".: %s hat %s getötet (%s) :.",killer,name,deathreason);
    }
    if (((gTeam[killerid]) == 4) && reason != 49)
    {
    if(SpielerInfo[playerid][pJailed] == 0)
    {
    SetPlayerCriminal(killerid,255, "Vorsätzlicher Mord");
    }
    }
    else if (((gTeam[killerid]) == 3) && reason == 49)
    {
    SetPlayerCriminal(killerid,255, "Fahrerflucht");
    }
    //BroadCast(COLOR_RED, string);
    }
    }
    ImShamalInterior[playerid] = 0;
    ShamalID[playerid] = -1;
    /*if (victimteam >= 3 && WantedPoints[playerid] > 0 && killerteam == 2)
    {
    SetPlayerFree(playerid,killerid, "Getötet");
    }
    killerid = INVALID_PLAYER_ID;
    if(gPlayerUsingLoopingAnim[playerid])
    {
    gPlayerUsingLoopingAnim[playerid] = 0;
    }*/
    return 1;
    }


    PUSH PUSH

    Hallo Community.


    Ich habe eine Frage in dem FS was ich bekommen habe, sind alle Skins welche es auch auf San Andreas gibt, wie kann ich ein paar skins raushollen die ich dort nicht haben will hier mal die Code.


    #include <a_samp>
    // OKStyle's Exclusive Clothes Stores v 1.1
    #define COLOR_INTERFACE_BODY 0xFDE39DAA


    enum pInfo {
    PlayerBuyingSkin,
    PlayerBuyedSkin,
    CurPlayerSkin,
    BuyedPlayerSkin
    };


    new
    Text:OEC[11],
    PU_SkinStore[6],
    PlayerInfo[MAX_PLAYERS][pInfo];

    public OnFilterScriptInit()
    {
    PU_SkinStore[0] = CreatePickup(1275, 23, 203.7687, -43.5479, 1001.8047, -1); // Sub Urban (Interior ¹ 1)
    PU_SkinStore[1] = CreatePickup(1275, 23, 206.9725, -129.2776, 1003.5078, -1); // Pro Laps (Interior ¹ 3)
    PU_SkinStore[2] = CreatePickup(1275, 23, 207.1088, -6.8424, 1001.2109, -1); // Victim (Interior ¹ 5)
    PU_SkinStore[3] = CreatePickup(1275, 23, 204.2164, -160.2130, 1000.5234, -1); // Didier Sachs (Interior ¹ 14)
    PU_SkinStore[4] = CreatePickup(1275, 23, 207.4383, -100.6320, 1005.2578, -1); // Binco (Interior ¹ 15)
    PU_SkinStore[5] = CreatePickup(1275, 23, 161.3974, -83.4861, 1001.8047, -1); // Zip (Interior ¹ 18)


    OEC[0] = TextDrawCreate(620.0,344.0,"~n~");
    TextDrawLetterSize(OEC[0], 0.5, 6.399996);
    TextDrawUseBox(OEC[0],1);
    TextDrawBoxColor(OEC[0],0x000000AA);
    TextDrawTextSize(OEC[0],411.0, -2.0);

    OEC[1] = TextDrawCreate(420.0,344.0,"~k~~PED_SPRINT~");
    TextDrawFont(OEC[1],1);
    TextDrawLetterSize(OEC[1],0.5,1.5);
    TextDrawColor(OEC[1],0xFFFFFFFF);
    TextDrawSetOutline(OEC[1],1);

    OEC[2] = TextDrawCreate(420.0,359.0,"~k~~VEHICLE_ENTER_EXIT~");
    TextDrawFont(OEC[2],1);
    TextDrawLetterSize(OEC[2],0.5,1.5);
    TextDrawColor(OEC[2],0xFFFFFFFF);
    TextDrawSetOutline(OEC[2],1);

    OEC[3] = TextDrawCreate(420.0,373.0,"~k~~VEHICLE_TURRETLEFT~");
    TextDrawFont(OEC[3],1);
    TextDrawLetterSize(OEC[3],0.5,1.5);
    TextDrawColor(OEC[3],0xFFFFFFFF);
    TextDrawSetOutline(OEC[3],1);


    OEC[4] = TextDrawCreate(420.0,387.0,"~k~~VEHICLE_TURRETRIGHT~");
    TextDrawFont(OEC[4],1);
    TextDrawLetterSize(OEC[4],0.5,1.5);
    TextDrawColor(OEC[4],0xFFFFFFFF);
    TextDrawSetOutline(OEC[4],1);


    OEC[5] = TextDrawCreate(526.0,373.0,"- Zurück");
    TextDrawFont(OEC[5],1);
    TextDrawLetterSize(OEC[5],0.5,1.5);
    TextDrawColor(OEC[5],0xFFFFFFFF);
    TextDrawSetOutline(OEC[5],1);

    OEC[6] = TextDrawCreate(526.0,387.0,"- Nächste");
    TextDrawFont(OEC[6],1);
    TextDrawLetterSize(OEC[6],0.5,1.5);
    TextDrawColor(OEC[6],0xFFFFFFFF);
    TextDrawSetOutline(OEC[6], 1);


    OEC[7] = TextDrawCreate(526.0,344.0,"- Kaufen");
    TextDrawFont(OEC[7],1);
    TextDrawLetterSize(OEC[7],0.5,1.5);
    TextDrawColor(OEC[7],0xFFFFFFFF);
    TextDrawSetOutline(OEC[7],1);


    OEC[8] = TextDrawCreate(526.0,359.0,"- Abbrechen");
    TextDrawFont(OEC[8],1);
    TextDrawLetterSize(OEC[8],0.5,1.5);
    TextDrawColor(OEC[8],0xFFFFFFFF);
    TextDrawSetOutline(OEC[8],1);


    OEC[9] = TextDrawCreate(447.0,203.0,">>");
    TextDrawFont(OEC[9],0);
    TextDrawLetterSize(OEC[9],1.08,4.5);
    TextDrawColor(OEC[9],0xFFFFFFFF);
    TextDrawSetOutline(OEC[9],1);

    OEC[10] = TextDrawCreate(110.0,203.0,"<<");
    TextDrawFont(OEC[10],0);
    TextDrawLetterSize(OEC[10],1.08,4.5);
    TextDrawColor(OEC[10],0xFFFFFFFF);
    TextDrawSetOutline(OEC[10],1);

    return 1;
    }
    public OnPlayerConnect(playerid)
    {
    PlayerInfo[playerid][PlayerBuyingSkin] = 0;
    SetPlayerMapIcon(playerid, 0, 2243.7368, -1665.8191, 21.0313, 45, 0, MAPICON_LOCAL); // LS, Ganton (Binco)
    SetPlayerMapIcon(playerid, 1, 2112.2080, -1210.2596, 28.1486, 45, 0, MAPICON_LOCAL); // LS, Jefferson (Sub-Urban)
    SetPlayerMapIcon(playerid, 2, 1456.9731, -1137.2269, 23.9458, 45, 0, MAPICON_LOCAL); // LS, Marketplace (Zip)
    SetPlayerMapIcon(playerid, 3, 499.3430, -1360.3872, 15.9448, 45, 0, MAPICON_LOCAL); // LS, Rodeo (Pro Laps)
    SetPlayerMapIcon(playerid, 4, 461.6073, -1500.5414, 30.6179, 45, 0, MAPICON_LOCAL); // LS, Rodeo (Victim)
    SetPlayerMapIcon(playerid, 5, 454.2315, -1477.3899, 45.5781, 45, 0, MAPICON_LOCAL); // LS, Rodeo (Didier Sachs)
    SetPlayerMapIcon(playerid, 6, -2490.3992, -29.0759, 25.1717, 45, 0, MAPICON_LOCAL); // SF, Hashbury (Sub Urban)
    SetPlayerMapIcon(playerid, 7, -2373.3257, 908.9100, 93.6328, 45, 0, MAPICON_LOCAL); // SF, Janiper Hill (Binco)
    SetPlayerMapIcon(playerid, 8, -1882.4037, 866.3734, 34.7354, 45, 0, MAPICON_LOCAL); // SF, Marketplace (Zip)
    SetPlayerMapIcon(playerid, 9, -1694.3289, 951.2454, 24.4555, 45, 0, MAPICON_LOCAL); // SF, Marketplace (Victim)
    SetPlayerMapIcon(playerid, 10, 1656.8595, 1732.9968, 10.3973, 45, 0, MAPICON_LOCAL); // LV, Airport (Binco)
    SetPlayerMapIcon(playerid, 11, 2090.5713, 2227.4121, 21.4297, 45, 0, MAPICON_LOCAL); // LV, The Emerland Isle (Zip)
    SetPlayerMapIcon(playerid, 12, 2099.3352, 2257.3284, 21.4297, 45, 0, MAPICON_LOCAL); // LV, The Emerland Isle (Binco)
    SetPlayerMapIcon(playerid, 13, 2779.9485, 2453.6741, 10.6372, 45, 0, MAPICON_LOCAL); // LV, Creek (Sub Urban)
    SetPlayerMapIcon(playerid, 14, 2802.7649, 2430.5879, 10.6334, 45, 0, MAPICON_LOCAL); // LV, Creek (Victim)
    SetPlayerMapIcon(playerid, 15, 2825.9680, 2407.5234, 10.6332, 45, 0, MAPICON_LOCAL); // LV, Creek (Pro Laps)
    return 1;
    }
    public OnPlayerSpawn(playerid)
    {
    if(PlayerInfo[playerid][PlayerBuyedSkin] == 1) return SetPlayerSkin(playerid, PlayerInfo[playerid][BuyedPlayerSkin]);
    return 1;
    }
    public OnPlayerCommandText(playerid, cmdtext[])
    {
    return 0;
    }
    public OnPlayerPickUpPickup(playerid, pickupid)
    {
    if(pickupid == PU_SkinStore[0])
    {
    for(new j; j < sizeof(OEC) - 2; j++)
    {
    TextDrawShowForPlayer(playerid, OEC[j]);
    }
    SetPlayerPos(playerid, 214.0874, -41.6967, 1002.0234);
    SetPlayerFacingAngle(playerid, 91.9525);
    SetPlayerCameraPos(playerid, 212.0223, -41.8577, 1002.0234);
    SetPlayerCameraLookAt(playerid, 214.0874, -41.6967, 1002.0234);
    PlayerInfo[playerid][PlayerBuyingSkin] = 1;
    PlayerInfo[playerid][CurPlayerSkin] = GetPlayerSkin(playerid);
    TogglePlayerControllable(playerid,0);
    }
    else if(pickupid == PU_SkinStore[1])
    {
    for(new j; j < sizeof(OEC) - 2; j++)
    {
    TextDrawShowForPlayer(playerid, OEC[j]);
    }
    SetPlayerPos(playerid, 199.0817, -127.2840, 1003.5152);
    SetPlayerFacingAngle(playerid, 184.0733);
    SetPlayerCameraPos(playerid, 199.081, -129.2840, 1003.70);
    SetPlayerCameraLookAt(playerid, 199.0817, -127.2840, 1003.5152);
    PlayerInfo[playerid][PlayerBuyingSkin] = 1;
    PlayerInfo[playerid][CurPlayerSkin] = GetPlayerSkin(playerid);
    TogglePlayerControllable(playerid, 0);
    }
    else if(pickupid == PU_SkinStore[2])
    {
    for(new j; j < sizeof(OEC) - 2; j++)
    {
    TextDrawShowForPlayer(playerid, OEC[j]);
    }
    SetPlayerPos(playerid, 204.6101, -3.7732, 1005.2109);
    SetPlayerFacingAngle(playerid, 229.8928);
    SetPlayerCameraPos(playerid, 206.7873, -5.4499, 1005.2109);
    SetPlayerCameraLookAt(playerid, 204.6101, -3.7732, 1005.2109);
    PlayerInfo[playerid][PlayerBuyingSkin] = 1;
    PlayerInfo[playerid][CurPlayerSkin] = GetPlayerSkin(playerid);
    TogglePlayerControllable(playerid, 0);
    }
    else if(pickupid == PU_SkinStore[3])
    {
    for(new j; j < sizeof(OEC) - 2; j++)
    {
    TextDrawShowForPlayer(playerid, OEC[j]);
    }
    SetPlayerPos(playerid, 216.3909, -156.8679, 1000.5234);
    SetPlayerFacingAngle(playerid, 91.7515);
    SetPlayerCameraPos(playerid, 214.300, -156.8916, 1000.70);
    SetPlayerCameraLookAt(playerid, 216.3909, -156.8679, 1000.5234);
    PlayerInfo[playerid][PlayerBuyingSkin] = 1;
    PlayerInfo[playerid][CurPlayerSkin] = GetPlayerSkin(playerid);
    TogglePlayerControllable(playerid, 0);
    }
    else if(pickupid == PU_SkinStore[4])
    {
    for(new j; j < sizeof(OEC) - 2; j++)
    {
    TextDrawShowForPlayer(playerid, OEC[j]);
    }
    SetPlayerPos(playerid, 217.3332, -98.5220, 1005.2578);
    SetPlayerFacingAngle(playerid, 88.4170);
    SetPlayerCameraPos(playerid, 215.3082, -98.5220, 1005.350);
    SetPlayerCameraLookAt(playerid, 217.3332, -98.5220, 1005.2578);
    PlayerInfo[playerid][PlayerBuyingSkin] = 1;
    PlayerInfo[playerid][CurPlayerSkin] = GetPlayerSkin(playerid);
    TogglePlayerControllable(playerid, 0);
    }
    else if(pickupid == PU_SkinStore[5])
    {
    for(new j; j < sizeof(OEC) - 2; j++)
    {
    TextDrawShowForPlayer(playerid, OEC[j]);
    }
    SetPlayerPos(playerid, 181.8224, -88.2158, 1002.0234);
    SetPlayerFacingAngle(playerid, 87.4771);
    SetPlayerCameraPos(playerid, 179.2743, -88.0793, 1002.0234);
    SetPlayerCameraLookAt(playerid, 181.8224, -88.2158, 1002.0234);
    PlayerInfo[playerid][PlayerBuyingSkin] = 1;
    PlayerInfo[playerid][CurPlayerSkin] = GetPlayerSkin(playerid);
    TogglePlayerControllable(playerid, 0);
    }
    return 1;
    }
    public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
    {
    if(PlayerInfo[playerid][PlayerBuyingSkin] == 1)
    {
    if(newkeys == KEY_ANALOG_LEFT)
    {
    if(GetPlayerSkin(playerid) == 0)
    {
    SetPlayerSkin(playerid, 299);
    }
    SetPlayerSkin(playerid, GetPlayerSkin(playerid) - 1);
    TextDrawHideForPlayer(playerid, OEC[10]);
    TextDrawHideForPlayer(playerid, OEC[9]);
    TextDrawShowForPlayer(playerid, OEC[10]);
    }
    else if(newkeys == KEY_ANALOG_RIGHT)
    {
    if(GetPlayerSkin(playerid) == 299)
    {
    SetPlayerSkin(playerid, 0);
    }
    SetPlayerSkin(playerid, GetPlayerSkin(playerid) + 1);
    TextDrawHideForPlayer(playerid, OEC[10]);
    TextDrawHideForPlayer(playerid, OEC[9]);
    TextDrawShowForPlayer(playerid, OEC[9]);
    }
    else if(newkeys == KEY_SECONDARY_ATTACK)
    {
    for(new j; j < sizeof(OEC); j++)
    {
    TextDrawHideForPlayer(playerid, OEC[j]);
    }
    SetPlayerSkin(playerid, PlayerInfo[playerid][CurPlayerSkin]);
    TogglePlayerControllable(playerid, 1);
    PlayerInfo[playerid][PlayerBuyingSkin] = 0;
    SetCameraBehindPlayer(playerid);
    }
    else if(newkeys == KEY_SPRINT)
    {
    if(GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, 0x01FCFFC8, "*** Du hast nicht genug Geld um dir den Anzug Kaufen zu können.");
    for(new j; j < sizeof(OEC); j++)
    {
    TextDrawHideForPlayer(playerid, OEC[j]);
    }
    GivePlayerMoney(playerid, -50);
    TogglePlayerControllable(playerid, 1);
    PlayerInfo[playerid][PlayerBuyingSkin] = 0;
    SetCameraBehindPlayer(playerid);
    PlayerInfo[playerid][PlayerBuyedSkin] = 1;
    PlayerInfo[playerid][BuyedPlayerSkin] = GetPlayerSkin(playerid);
    SendClientMessage(playerid, 0xFFFFFFAA, "Du hast dir neue Kleidung gekauft.");
    SendClientMessage(playerid, 0xFFFFFFAA, "Preis: 50$");
    }
    }
    return 1;
    }
    public OnFilterScriptExit()
    {
    for(new i; i < GetMaxPlayers(); i++)
    {
    for(new j; j < 16; j++)
    {
    RemovePlayerMapIcon(i, j);
    }
    if(PlayerInfo[i][PlayerBuyingSkin] == 1)
    {
    PlayerInfo[i][PlayerBuyingSkin] = 0;
    TogglePlayerControllable(i, 1);
    SetCameraBehindPlayer(i);
    }
    PlayerInfo[i][PlayerBuyedSkin] = 0;
    }
    for(new k; k < sizeof(PU_SkinStore); k++)
    {
    DestroyPickup(PU_SkinStore[k]);
    }
    for(new l; l < sizeof(OEC); l++)
    {
    TextDrawHideForAll(OEC[l]);
    TextDrawDestroy(OEC[l]);
    }
    return 1;
    }



    /PUSH